2 Edit #{resource_name.to_s.humanize}
3 = form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
4 = devise_error_messages!
11 %i (leave blank if you don't want to change it)
13 = f.password_field :password, :autocomplete => "off"
15 = f.label :password_confirmation
17 = f.password_field :password_confirmation
19 = f.label :current_password
20 %i (we need your current password to confirm your changes)
22 = f.password_field :current_password
23 %div= f.submit "Update"
26 Unhappy? #{link_to "Cancel my account", registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete}.
27 = link_to "Back", :back