Sha256: 6efb8da213e70b410d3ded0a64be42ffc3673fbd56269b244e77510454150c7a
Contents?: true
Size: 1.54 KB
Versions: 234
Compression:
Stored size: 1.54 KB
Contents
<h2><%= t('devise.headers.edit_registration', resource_name: resource_name.to_s.humanize) %></h2> <%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %> <%= devise_error_messages! %> <div class="field"> <%= f.label :email %><br /> <%= f.email_field :email, autofocus: true %> </div> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <div><%= t('devise.labels.wait_confirm', unconfirmed_email: resource.unconfirmed_email) %></div> <% end %> <div class="field"> <%= f.label :password %> <i><%= t('devise.hints.leave_blank') %></i><br /> <%= f.password_field :password, autocomplete: "off" %> <% if @minimum_password_length %> <br /> <em><%= t('devise.hints.password_length', length: @minimum_password_length) %></em> <% end %> </div> <div class="field"> <%= f.label :password_confirmation %><br /> <%= f.password_field :password_confirmation, autocomplete: "off" %> </div> <div class="field"> <%= f.label :current_password %> <i><%= t('devise.hints.need_password') %></i><br /> <%= f.password_field :current_password, autocomplete: "off" %> </div> <div class="actions"> <%= f.submit t('global.buttons.update') %> </div> <% end %> <h3><%= t('devise.headers.cancel_account') %></h3> <p>Unhappy? <%= button_to t('devise.buttons.cancel_account'), registration_path(resource_name), data: { confirm: t('global.confirm_message') }, method: :delete %></p> <%= link_to t('global.buttons.back'), :back %>
Version data entries
234 entries across 234 versions & 1 rubygems