<%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }, :class => "form register-form") do |f| %> <%= t('Edit_account') %> <%= devise_error_messages! %>
<%= f.label :email, t('Email') %> <%= f.email_field :email %>
<%= f.label :password, t('Password') %> <%= t("leave_blank_if_you_dont_want_to_change_it") %> <%= f.password_field :password %> <%= f.label :password_confirmation, t('Password_confirmation') %> <%= f.password_field :password_confirmation %> <%= f.label :current_password, t('Current_password') %> <%= t("we_need_your_current_password_to_confirm_your_changes") %> <%= f.password_field :current_password %>
<% end %>