Created
February 9, 2010 12:24
-
-
Save owendall/299157 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- AUTOMATICALLY GENERATED FILE - DO NOT EDIT --> | |
<def tag="form" for="Contact"> | |
<form merge param="default"> | |
<error-messages param/> | |
<field-list fields="name, company, description" param/> | |
<div param="actions"> | |
<submit label="#{ht 'contacts.actions.save', :default=>['Save']}" param/><or-cancel param="cancel"/> | |
</div> | |
</form> | |
</def> | |
<def tag="form" for="User"> | |
<form merge param="default"> | |
<error-messages param/> | |
<field-list fields="name, email_address, administrator, state" param/> | |
<div param="actions"> | |
<submit label="#{ht 'users.actions.save', :default=>['Save']}" param/><or-cancel param="cancel"/> | |
</div> | |
</form> | |
</def> | |
<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 'users.actions.signup', :default=>['Signup']}" param/><or-cancel param="cancel"/> | |
</div> | |
</form> | |
</def> | |
<def tag="reset-password-form" polymorphic/> | |
<def tag="reset-password-form" for="User"> | |
<form lifecycle="reset_password" merge param="default"> | |
<error-messages param/> | |
<input type="hidden" name="key" value="&this.lifecycle.provided_key" if="&this.lifecycle.provided_key"/> | |
<field-list fields="password, password_confirmation" param/> | |
<div param="actions"> | |
<submit label="#{ht 'users.actions.reset_password', :default=>['Reset Password']}" param/><or-cancel param="cancel"/> | |
</div> | |
</form> | |
</def> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment