<%- if options[:metatags] %>

<%%= title("Edit #{resource_name.to_s.humanize}") %>

<% else -%>

Edit <%%= resource_name.to_s.humanize %>

<%- end %>
"> <%%= simple_form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> <%%= f.error_notification %>
<%%= f.input :email, required: true, autofocus: true %> <%% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>

Currently waiting confirmation for: <%%= resource.unconfirmed_email %>

<%% end %> <%%= f.input :password, hint: "Leave it blank if you don't want to change it", required: false, input_html: { autocomplete: 'new-password' } %> <%%= f.input :password_confirmation, required: false, input_html: { autocomplete: 'new-password' } %> <%%= f.input :current_password, hint: 'We need your current password to confirm your changes', required: true, input_html: { autocomplete: 'current-password' } %>
<%%= f.button :submit %>
<%% end %>
or

Cancel my account

Unhappy? <%%= button_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete ,class: "ui submit button red tiny "%>

<%%= link_to "Back", :back %>