Sha256: c1dbe7a20f1a2f5e7c194363bee486d4e259397f449398f48c84d3e8298363c8
Contents?: true
Size: 1.96 KB
Versions: 3
Compression:
Stored size: 1.96 KB
Contents
<% # Localized by Ennder, "Edit", activerecord.models -%> <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| %> <% # Ennder id : flash_error + test -%> <% if !resource.errors.empty? -%> <div id="flash_error"><%= devise_error_messages! %></div> <% end -%> <div><%= f.label :email %><br /> <%= f.email_field :email, :autofocus => true %></div> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div> <% end %> <% # Localized by Ennder, "leave blank if you don't want to change it" -%> <div><%= f.label :password %> <i>(<%= t('devise.registrations.leave_password_blank_dont_change') %>)</i><br /> <%= f.password_field :password, :autocomplete => "off" %></div> <div><%= f.label :password_confirmation %><br /> <%= f.password_field :password_confirmation %></div> <% # Localized by Ennder, "we need your current password to confirm your changes" -%> <div><%= f.label :current_password %> <i>(<%= t('devise.registrations.need_current_passord') %>)</i><br /> <%= f.password_field :current_password %></div> <% # Added by Ennder -%> <%= render :partial => 'users/form_personal_fields', :locals => { :f => f } %> <% # Localized by Ennder, "Update" -%> <div><%= f.submit t('Update') %></div> <% end %> <% # Localized by Ennder, "Cancel my account" -%> <h3><%= t('devise.registrations.cancel_account') %></h3> <% # Localized by Ennder, "Unhappy?", "Are you sure?" -%> <p><%= t('devise.registrations.unhappy') %> <%= button_to t('devise.registrations.cancel_account'), registration_path(resource_name), :data => { :confirm => t('confirmation.are_you_sure') }, :method => :delete %></p> <% # Localized by Ennder, "Back" -%> <%= link_to t('links.back'), :back %>
Version data entries
3 entries across 3 versions & 1 rubygems