= render "shared/profile_menu"
.edit-user-form
  %h1= t ".title"
  = semantic_form_for resource, as: resource_name, url: registration_path(resource_name), html: {method: :put} do |f|
    = devise_error_messages!
    = f.inputs do
      = f.input :full_name
      = f.input :display_name
      = f.input :email
      = f.input :password
      = f.input :password_confirmation
      = f.input :current_password, required: true
    = f.actions do
      = f.action :submit
  = render :partial => "devise/shared/links"
.cancel-form
  %h2 Cancel my account
  %p
    Unhappy? #{link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete}.
  = link_to "Back", :back

= render "shared/profile_menu"
.edit-user-form
  %h1= t ".title"
  = semantic_form_for resource, as: resource_name, url: registration_path(resource_name), html: {method: :put} do |f|
    = devise_error_messages!
    = f.inputs do
      = f.input :full_name
      = f.input :display_name
      = f.input :email
      = f.input :password
      = f.input :password_confirmation
      = f.input :current_password, required: true
    = f.actions do
      = f.action :submit
.cancel-form
  %h2 Cancel my account
  %p
    Unhappy? #{link_to "Cancel my account", registration_path(resource_name), :confirm => "Are you sure?", :method => :delete}.
  = link_to "Back", :back

Remove the shared links for the account update page.
Remove the shared links for the account update page.

None of the current links - forgotten password, missing confirmation, sign in - make sense
when you're already logged in and trying to change your account.
