Sha256: f07fa660f738b7b9a431ec92178de4fc4b22adf0006d956c78b22ca9b206b5ee

Contents?: true

Size: 1.08 KB

Versions: 27

Compression:

Stored size: 1.08 KB

Contents

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

<%= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f| %>
  <%= f.error_notification %>

  <div class="form-inputs">
    <%= f.input :email, :required => true, :autofocus => true %>

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

    <%= f.input :password, :autocomplete => "off", :hint => "leave it blank if you don't want to change it", :required => false %>
    <%= f.input :password_confirmation, :required => false %>
    <%= f.input :current_password, :hint => "we need your current password to confirm your changes", :required => true %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, "Update" %>
  </div>
<% end %>

<h3>Cancel my account</h3>

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

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

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
devise-3.2.3 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.2.2 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.2.1 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.1.2 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.0.4 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-2.2.8 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.2.0 lib/generators/templates/simple_form_for/registrations/edit.html.erb
loyal_devise-2.2.6 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.1.1 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.1.0 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-2.2.7 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.0.3 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.1.0.rc2 lib/generators/templates/simple_form_for/registrations/edit.html.erb
loyal_devise-2.2.5 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-2.2.6 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.0.2 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-3.0.1 lib/generators/templates/simple_form_for/registrations/edit.html.erb
devise-2.2.5 lib/generators/templates/simple_form_for/registrations/edit.html.erb
loyal_devise-2.1.10 lib/generators/templates/simple_form_for/registrations/edit.html.erb
loyal_devise-2.1.7 lib/generators/templates/simple_form_for/registrations/edit.html.erb