Sha256: 8113a53858a9bdfe6acf11832f118ca9165a803e270d7598ec75676de8a61e8b

Contents?: true

Size: 1.62 KB

Versions: 16

Compression:

Stored size: 1.62 KB

Contents

<div class="row u-od-margin-top--gutter2x">
  <div class="columns u-od-padding-v--large">
    <div class="o-od-devise-form__wrap">
      <h1 class="u-od-margin-bottom--gutter">Edit <%= resource_name.to_s.humanize %></h1>

      <%= 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>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: "off" %>
        </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>(we need your current password to confirm your changes)</i><br />
          <%= f.password_field :current_password, autocomplete: "off" %>
        </div>

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

      <h3>Cancel my account</h3>

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

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

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
lcms-engine-0.5.5 app/views/devise/registrations/edit.html.erb
lcms-engine-0.5.4 app/views/devise/registrations/edit.html.erb
lcms-engine-0.5.3 app/views/devise/registrations/edit.html.erb
lcms-engine-0.5.2 app/views/devise/registrations/edit.html.erb
lcms-engine-0.5.1 app/views/devise/registrations/edit.html.erb
lcms-engine-0.5.0 app/views/devise/registrations/edit.html.erb
lcms-engine-0.4.2 app/views/devise/registrations/edit.html.erb
lcms-engine-0.4.1 app/views/devise/registrations/edit.html.erb
lcms-engine-0.4.0 app/views/devise/registrations/edit.html.erb
lcms-engine-0.3.1 app/views/devise/registrations/edit.html.erb
lcms-engine-0.1.4 app/views/devise/registrations/edit.html.erb
lcms-engine-0.3.0 app/views/devise/registrations/edit.html.erb
lcms-engine-0.1.3 app/views/devise/registrations/edit.html.erb
lcms-engine-0.2.0 app/views/devise/registrations/edit.html.erb
lcms-engine-0.1.2 app/views/devise/registrations/edit.html.erb
lcms-engine-0.1.0 app/views/devise/registrations/edit.html.erb