Displaying 1 result from an estimated 1 matches for "new_password_confirmation".
2010 Aug 17
2
[Form] Method POST & PUT problem
...------------------------------------
View: -------------------------------------
<% semantic_form_for @user, :url => profile_reset_password_url do |form|
-%>
<% form.inputs -%>
<%= form.input :password -%>
<%= form.input :new_password -%>
<%= form.input :new_password_confirmation -%>
<% end -%>
<%= form.buttons %>
<% end -%>
-------------------------------------------
Routes: -----------------------------------
map.namespace :profile do |profile|
profile.resource :reset_password, :only => [:new, :create]
end
----------------------------...