I am trying to put an <after-submit go-back/> statement in the signup form, and
it did not work at all. (Hobo 1.3 pre25)
In applications.dryml I put:
<def tag="signup-form" polymorphic/>
<def tag="signup-form" for="User">
<form lifecycle="signup" merge param="default">
<error-messages param/>
<field-list fields="name, email_address, password, password_confirmation"
param/>
<div param="actions">
<submit label="#{ht 'user.actions.signup', :default=>['Signup']}"
param/><or-cancel param="cancel"/>
</div>
<after-submit go-back/>
</form>
</def>
To see what I was doing wrong, I replaced it with
<after-submit uri="/events" /> and that also did nothing.
--
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en.