Sha256: 8eec6b5ba7189b5cc374b60d29d8964f2d9a62eea47f41b10094d313cd62252f
Contents?: true
Size: 1.21 KB
Versions: 3
Compression:
Stored size: 1.21 KB
Contents
<h2><%= t('devise.registrations.edit_only') %> <%= t("activerecord.models.#{resource_name}") %></h2> <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %> <% if !resource.errors.empty? -%> <div id="flash_error"><%= devise_error_messages! %></div> <% end -%> <p><%= f.label :email %><br /> <%= f.email_field :email %></p> <p><%= f.label :password %> <i>(<%= t('devise.registrations.leave_password_blank_dont_change') %>)</i><br /> <%= f.password_field :password %></p> <p><%= f.label :password_confirmation %><br /> <%= f.password_field :password_confirmation %></p> <p><%= f.label :current_password %> <i>(<%= t('devise.registrations.need_current_passord') %>)</i><br /> <%= f.password_field :current_password %></p> <%= render :partial => 'users/form_personal_fields', :locals => { :f => f } %> <p><%= f.submit t('Update') %></p> <% end %> <h3><%= t('devise.registrations.cancel_account') %></h3> <p><%= t('devise.registrations.unhappy') %> <%= link_to t('devise.registrations.cancel_account'), registration_path(resource_name), :confirm => t('confirmation.are_you_sure'), :method => :delete %>.</p> <%= link_to t('links.back'), :back %>
Version data entries
3 entries across 3 versions & 1 rubygems