Sha256: 7d2d3cd59b2cf9f7900cfa44638a789cc4938b233c898062a8b5dcf6a2b46fcd

Contents?: true

Size: 963 Bytes

Versions: 16

Compression:

Stored size: 963 Bytes

Contents

%h2
  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
  .form-inputs
    = f.input :email, :required => true, :autofocus => true
    - if devise_mapping.confirmable? && resource.pending_reconfirmation?
      %p
        Currently waiting confirmation for: #{resource.unconfirmed_email}
    = 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
  .form-actions
    = f.button :submit, "Update"
%h3 Cancel my account
%p
  Unhappy? #{link_to "Cancel my account", registration_path(resource_name), :data => { :confirm => "Are you sure?" }, :method => :delete}
= link_to "Back", :back

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
cybele-1.6.0 templates/app/views/devise/registrations/edit.html.haml
cybele-1.5.1 templates/app/views/devise/registrations/edit.html.haml
cybele-1.5.0 templates/app/views/devise/registrations/edit.html.haml
cybele-1.4.0 templates/app/views/devise/registrations/edit.html.haml
exo_cms-0.0.3 app/views/contributors/registrations/edit.html.haml
exo_cms-0.0.1 app/views/contributors/registrations/edit.html.haml
cybele-1.3.0 templates/app/views/devise/registrations/edit.html.haml
cybele-1.2.0 templates/app/views/devise/registrations/edit.html.haml
cybele-1.1.0 templates/app/views/devise/registrations/edit.html.haml
cybele-1.0.0 templates/app/views/devise/registrations/edit.html.haml
cybele-0.10.1 templates/app/views/devise/registrations/edit.html.haml
cybele-0.10.0 templates/app/views/devise/registrations/edit.html.haml
cybele-0.9.0 templates/app/views/devise/registrations/edit.html.haml
cybele-0.8.0 templates/app/views/devise/registrations/edit.html.haml
cybele-0.7.0 templates/app/views/devise/registrations/edit.html.haml
cybele-0.6.0 templates/app/views/devise/registrations/edit.html.haml