Hello,
The hobo lifecycle tutorial shows how to implement a friendship logic in the model and controller. However it does not really cover how to glue the gui/views together. When I go to /friendships/invite - hobo presents me with a form with a drop down menu. How do I add a form to the user show-page with just one button (Invite) I guess that the the user viewed should be in a hidden field?
I tried adding the form like this:
<extend tag="show-page" for="User">
<old-show-page merge>
<append-content-body:>
<invite-form for="Friendship" />
</append-content-body:>
</old-show-page>
</extend>
Hobo ignores the invite-form hmmm I must be missing something.
Best regards Asbjørn Morell