Sha256: 738f34ad06d90fef1424ee5c1fbba4f07da82a1a4e0b3f7eb41c1d06d1c9e22f
Contents?: true
Size: 1.52 KB
Versions: 13
Compression:
Stored size: 1.52 KB
Contents
<% @title = "Edit #{resource_name.to_s.humanize}" %> <div class="page-header"> <h1><%= @title %></h1> </div> <%= form_for(resource, :as => resource_name, :url => registration_path(resource_name), html: { method: :put, class: 'form-horizontal' }) do |f| %> <%= devise_error_messages! %> <div class="control-group"> <%= f.label :email, class: 'control-label' %> <div class="controls"> <%= f.email_field :email %> </div> </div> <div class="control-group"> <%= f.label :password, class: 'control-label' %> <div class="controls"> <%= f.password_field :password, :autocomplete => "off" %> <i class="help-block">(leave blank if you don't want to change it)</i> </div> </div> <div class="control-group"> <%= f.label :password_confirmation, class: 'control-label' %> <div class="controls"> <%= f.password_field :password_confirmation %> </div> </div> <div class="control-group"> <%= f.label :current_password, class: 'control-label' %> <div class="controls"> <%= f.password_field :current_password %> <i class="help-block">(we need your current password to confirm your changes)</i> </div> </div> <div class="form-actions"> <%= f.submit "Update", class: 'btn btn-primary' %> </div> <% end %> <div class="page-header"> <h3>Cancel my account</h3> </div> <p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete, class: 'btn btn-danger' %>.</p> <%= link_to "Back", :back %>
Version data entries
13 entries across 13 versions & 1 rubygems