Sha256: 4e9951f7c1538e1bda0eb30d75b852cbbf51d30695e9a0a5c1fcd7171fcd3dd2

Contents?: true

Size: 786 Bytes

Versions: 2

Compression:

Stored size: 786 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

2 entries across 2 versions & 1 rubygems

Version Path
app_frame-0.5.6 app/views/app_frame/devise/registrations/edit.html.haml
app_frame-0.5.5 app/views/app_frame/devise/registrations/edit.html.haml