%h2
Edit #{resource_name.to_s.humanize}
form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|¶ ↑
= devise_error_messages! %p = f.label :email %br/ = f.email_field :email %p = f.label :password %i=t "devise.registrations.edit.password_instruction" %br/ = f.password_field :password %p = f.label :password_confirmation %br/ = f.password_field :password_confirmation %p = f.label :current_password %i=t "devise.registrations.edit.current_password_instruction" %br/ = f.password_field :current_password %p= f.submit t :update
%h3= t “devise.registrations.edit.cancel_my_account” %p
#{link_to t("devise.registrations.edit.cancel_my_account"), registration_path(resource_name), :confirm => t("devise.registrations.edit.are_you_sure"), :method => :delete}.