Sha256: 45b8d03f8bceb3275235eef78ee9dacc805b29085ce28dca6ee87766da115826
Contents?: true
Size: 860 Bytes
Versions: 3
Compression:
Stored size: 860 Bytes
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="inputs"> <%= f.input :email, :autofocus => true %> <%= f.input :password, :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="actions"> <%= f.button :submit, "Update" %> </div> <% end %> <h3>Cancel my account</h3> <p>Unhappy? <%= link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete %>.</p> <%= link_to "Back", :back %>
Version data entries
3 entries across 3 versions & 2 rubygems