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

Version Path
bullet_train-1.14.0 app/views/devise/registrations/edit.html.erb
bullet_train-1.13.0 app/views/devise/registrations/edit.html.erb
bullet_train-1.12.3 app/views/devise/registrations/edit.html.erb
bullet_train-1.12.2 app/views/devise/registrations/edit.html.erb
bullet_train-1.12.1 app/views/devise/registrations/edit.html.erb
bullet_train-1.12.0 app/views/devise/registrations/edit.html.erb
bullet_train-1.11.0 app/views/devise/registrations/edit.html.erb
bullet_train-1.10.0 app/views/devise/registrations/edit.html.erb
bullet_train-1.9.0 app/views/devise/registrations/edit.html.erb
bullet_train-1.8.5 app/views/devise/registrations/edit.html.erb
bullet_train-1.8.4 app/views/devise/registrations/edit.html.erb
bullet_train-1.8.3 app/views/devise/registrations/edit.html.erb
bullet_train-1.8.2 app/views/devise/registrations/edit.html.erb
bullet_train-1.8.1 app/views/devise/registrations/edit.html.erb
bullet_train-1.8.0 app/views/devise/registrations/edit.html.erb
bullet_train-1.7.23 app/views/devise/registrations/edit.html.erb
bullet_train-1.7.22 app/views/devise/registrations/edit.html.erb
bullet_train-1.7.21 app/views/devise/registrations/edit.html.erb
bullet_train-1.7.20 app/views/devise/registrations/edit.html.erb
bullet_train-1.7.19 app/views/devise/registrations/edit.html.erb