Sha256: d8f22d928ca0d5b8974c57e27047d763f8804a79c6faea12528611a7dbea0b3e
Contents?: true
Size: 1.18 KB
Versions: 1
Compression:
Stored size: 1.18 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' %> <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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
devise_rails3_ennder-1.0.2 | app/views/devise/registrations/edit.html.erb |