Sha256: 430c1fb711b58c07d30e49bf601dabadc331a82d1dc83fadaa864e5c3cc3c317

Contents?: true

Size: 785 Bytes

Versions: 3

Compression:

Stored size: 785 Bytes

Contents

= page_header "Edit #{resource_name.to_s.humanize}"

= simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name), :html => { :method => :put }) do |f|
  = f.error_notification 

  = f.input :email, :required => true, :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 

  = f.button :submit, "Update", :class => 'btn'

%h3 Cancel my account

%p
  Unhappy? 
  = link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete

= link_to "Back", :back, :class => 'btn'

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
app_frame-0.6.1 app/views/app_frame/devise/registrations/edit.html.haml
app_frame-0.5.8 app/views/app_frame/devise/registrations/edit.html.haml
app_frame-0.5.7 app/views/app_frame/devise/registrations/edit.html.haml