Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (29 sloc) 889 Bytes
- title "Edit #{resource_name.to_s.humanize}"
= simple_form_for resource,
as: resource_name,
url: registration_path(resource_name),
html: { method: :put } do |f|
| New profile information
= f.input :full_name, required: true, autofocus: true
= f.input :email, required: true
= 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
= f.button :submit, "Update"
| Cancel my account
' Unhappy?
= link_to "Cancel my account",
data: { confirm: "Are you sure?" },
method: :delete
Jump to Line
Something went wrong with that request. Please try again.