= render "shared/error_messages", :target => @user

p
  = form.label :name %
  br
  = form.text_field :name
p
  = form.label :email
  br
  = form.text_field :email
p
  = form.label :password, form.object.new_record? ? nil : "Change password"
  br
  = form.password_field :password
p
  = form.label :password_confirmation
  br
  = form.password_field :password_confirmation

= link_to 'Edit Account', edit_account_path
