<%= t('.title', :resource => resource_class.model_name.human) %>
<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { method: :put }) do |f| %>
<%= devise_error_messages! %>
<%= f.label :email %>
<%= f.email_field :email %>
<%= f.label :password %> (<%= t('.leave_blank_if_you_don_t_want_to_change_it') %>)
<%= f.password_field :password, :autocomplete => "off" %>
<%= f.label :password_confirmation %>
<%= f.password_field :password_confirmation %>
<%= f.label :current_password %> (<%= t('.we_need_your_current_password_to_confirm_your_changes') %>)
<%= f.password_field :current_password %>
<%= f.submit t('.update') %>
<% end %>
<%= t('.cancel_my_account') %>
<%= t('.unhappy') %>? <%= link_to t('.cancel_my_account'), registration_path(resource_name), :data => { :confirm => t('.are_you_sure') }, :method => :delete %>.
<%= link_to "Back", :back %>