Sha256: 9c7c9a630095c174aaf2f7981bfb74e3e560cef27c563830ab6ab15855c74082
Contents?: true
Size: 1.13 KB
Versions: 3
Compression:
Stored size: 1.13 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> <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