Sha256: 78d89326e2c6144ebd0dc27cb0aff01c7b88c842728d954dd3927f398ada97db
Contents?: true
Size: 957 Bytes
Versions: 10
Compression:
Stored size: 957 Bytes
Contents
h2 Edit #{resource_name.to_s.titleize} = 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
10 entries across 10 versions & 2 rubygems