Sha256: 31f2c7eac887d0a5a3d643ee0b58cef74fa1250f7cb9641c768961d4d4b2cc14
Contents?: true
Size: 1.16 KB
Versions: 15
Compression:
Stored size: 1.16 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, class: 'form-vertical multiple_tags', role: 'form'}) do |f| %> <%= f.error_notification %> <%= render 'shared/validation', object: f.object %> <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", :class => "btn btn-primary" %> </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, :class => "btn btn-primary" %>
Version data entries
15 entries across 15 versions & 1 rubygems