Sha256: 8482e09e0125ed9ee65b1c9a6c10d4b05a4c79c1efb19a8e20f04632599c2880

Contents?: true

Size: 1.3 KB

Versions: 54

Compression:

Stored size: 1.3 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,
                hint: "leave it blank if you don't want to change it",
                required: false,
                input_html: { autocomplete: "new-password" } %>
    <%= f.input :password_confirmation,
                required: false,
                input_html: { autocomplete: "new-password" } %>
    <%= f.input :current_password,
                hint: "we need your current password to confirm your changes",
                required: true,
                input_html: { autocomplete: "current-password" } %>
  </div>

  <div class="form-actions">
    <%= f.button :submit, "Update", data: { turbo: false }   %>
  </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

54 entries across 54 versions & 1 rubygems

Version Path
tybo-0.3.7 app/views/devise/registrations/edit.html.erb
tybo-0.3.6 app/views/devise/registrations/edit.html.erb
tybo-0.3.4 app/views/devise/registrations/edit.html.erb
tybo-0.3.3 app/views/devise/registrations/edit.html.erb
tybo-0.3.1 app/views/devise/registrations/edit.html.erb
tybo-0.2.6 app/views/devise/registrations/edit.html.erb
tybo-0.2.5 app/views/devise/registrations/edit.html.erb
tybo-0.2.4 app/views/devise/registrations/edit.html.erb
tybo-0.2.3 app/views/devise/registrations/edit.html.erb
tybo-0.2.2 app/views/devise/registrations/edit.html.erb
tybo-0.2.0 app/views/devise/registrations/edit.html.erb
tybo-0.1.2 app/views/devise/registrations/edit.html.erb
tybo-0.1.0 app/views/devise/registrations/edit.html.erb
tybo-0.0.40 app/views/devise/registrations/edit.html.erb
tybo-0.0.39 app/views/devise/registrations/edit.html.erb
tybo-0.0.38 app/views/devise/registrations/edit.html.erb
tybo-0.0.37 app/views/devise/registrations/edit.html.erb
tybo-0.0.36 app/views/devise/registrations/edit.html.erb
tybo-0.0.35 app/views/devise/registrations/edit.html.erb
tybo-0.0.34 app/views/devise/registrations/edit.html.erb