% content_for :page_header do %>
Account Details
<% end %>
<%= simple_form_for(resource, :as => resource_name, :url => user_registration_path, :html => { :method => :put }) do |f| %>
<% if f.error_notification -%>
Wait don't go! There was a problem with your submission. Please review the errors below:
×
<% end -%>
<%= f.submit class: 'btn btn-primary', value: 'Update My Account' %>
<% end %>
Account Deactivation
<%= button_to "Cancel My Account", cancel_registration_path(resource_name), data: { confirm: "Are you sure?" }, method: :delete, class: 'btn btn-danger' %>