Sha256: f229869b5cc8d463ab18b9c443797fba06cffd12950c077c6977ba343a466546

Contents?: true

Size: 1.51 KB

Versions: 40

Compression:

Stored size: 1.51 KB

Contents

<h2>Edit <%= resource_name.to_s.humanize %></h2>

<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>
  <%= render "devise/shared/error_messages", resource: resource %>

  <div class="field">
    <%= f.label :email %><br />
    <%= f.email_field :email, autofocus: true, autocomplete: "email" %>
  </div>

  <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %>
    <div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div>
  <% end %>

  <div class="field">
    <%= f.label :password %> <i>(leave blank if you don't want to change it)</i><br />
    <%= f.password_field :password, autocomplete: "new-password" %>
    <% if @minimum_password_length %>
      <br />
      <em><%= @minimum_password_length %> characters minimum</em>
    <% end %>
  </div>

  <div class="field">
    <%= f.label :password_confirmation %><br />
    <%= f.password_field :password_confirmation, autocomplete: "new-password" %>
  </div>

  <div class="field">
    <%= f.label :current_password %> <i>(we need your current password to confirm your changes)</i><br />
    <%= f.password_field :current_password, autocomplete: "current-password" %>
  </div>

  <div class="actions">
    <%= f.submit "Update" %>
  </div>
<% end %>

<h3>Cancel my account</h3>

<div>Unhappy? <%= button_to "Cancel my account", registration_path(resource_name), data: { confirm: "Are you sure?", turbo_confirm: "Are you sure?" }, method: :delete %></div>

<%= link_to "Back", :back %>

Version data entries

40 entries across 27 versions & 6 rubygems

Version Path
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.1.0/gems/devise-4.9.4/app/views/devise/registrations/edit.html.erb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/devise-4.9.4/app/views/devise/registrations/edit.html.erb
lesli_shield-0.1.1 app/views/devise/registrations/edit.html.erb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/devise-4.9.4/app/views/devise/registrations/edit.html.erb
devise-4.9.4 app/views/devise/registrations/edit.html.erb
rails_app-0.9.0 lib/rails_app/template/app_postcss/views/devise/registrations/edit.html.erb
rails_app-0.9.0 lib/rails_app/template/app_sass/views/devise/registrations/edit.html.erb
rails_app-0.9.0 lib/rails_app/template/app_bulma/views/devise/registrations/edit.html.erb
rails_app-0.8.1 lib/rails_app/template/app_postcss/views/devise/registrations/edit.html.erb
rails_app-0.8.1 lib/rails_app/template/app_sass/views/devise/registrations/edit.html.erb
rails_app-0.8.1 lib/rails_app/template/app_bulma/views/devise/registrations/edit.html.erb
rails_app-0.8.0 lib/rails_app/template/app_sass/views/devise/registrations/edit.html.erb
rails_app-0.8.0 lib/rails_app/template/app_postcss/views/devise/registrations/edit.html.erb
rails_app-0.8.0 lib/rails_app/template/app_bulma/views/devise/registrations/edit.html.erb
rails_app-0.7.0 lib/rails_app/template/app_bulma/views/devise/registrations/edit.html.erb
rails_app-0.7.0 lib/rails_app/template/app_sass/views/devise/registrations/edit.html.erb
rails_app-0.7.0 lib/rails_app/template/app_postcss/views/devise/registrations/edit.html.erb
rails_app-0.6.0 lib/rails_app/template/app_postcss/views/devise/registrations/edit.html.erb
rails_app-0.6.0 lib/rails_app/template/app_sass/views/devise/registrations/edit.html.erb
rails_app-0.6.0 lib/rails_app/template/app_bulma/views/devise/registrations/edit.html.erb