Sha256: 463af31e80b289e800078ceffcb3a35acaed63a579f09d58578f026b4d799540
Contents?: true
Size: 1.99 KB
Versions: 8
Compression:
Stored size: 1.99 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| %> <%= devise_error_messages! %> <div class="form-inputs"> <div class="form-group string required email"> <%= f.label :email, class: "control-label string email required" %> <%= f.email_field :email, autofocus: true, class: "form-control string email required" %> </div> <% if devise_mapping.confirmable? && resource.pending_reconfirmation? %> <div>Currently waiting confirmation for: <%= resource.unconfirmed_email %></div> <% end %> <div class="form-group string required password"> <%= f.label :password, class: "control-label string password required" %> <i>(leave blank if you don't want to change it)</i><br /> <%= f.password_field :password, autocomplete: "off", class: "form-control string password required" %> <% if @minimum_password_length %> <br /> <em><%= @minimum_password_length %> characters minimum</em> <% end %> </div> <div class="form-group string required password"> <%= f.label :password_confirmation, class: "control-label string password required" %> <%= f.password_field :password_confirmation, autocomplete: "off", class: "form-control string password required" %> </div> <div class="form-group string required password"> <%= f.label :current_password, class: "control-label string password required" %> <i>(we need your current password to confirm your changes)</i><br /> <%= f.password_field :current_password, autocomplete: "off", class: "form-control string password required" %> </div> </div> <div class="form-actions text-right"> <%= f.submit "Update", class: "btn btn-default" %> </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 %>
Version data entries
8 entries across 8 versions & 1 rubygems