summaryrefslogtreecommitdiff
path: root/users/app/views/users/edit.html.haml
blob: 03088d8314d0dc68c4c3ec74b8d544a4299bd71e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.span8.offset2
  %h2=t :settings
  - content_for :account do
    = user_form_with 'login_field', :legend => :change_login
    = user_form_with 'password_fields', :legend => :change_password
    = render 'cancel_account' if @user == current_user
  - content_for :email do
    %legend=t :email_address
    Your email address is
    = render user.email_address, :as => :span
    = user_form_with 'email_forward_field', :legend => :forward_email
    = user_form_with 'email_aliases', :legend => :add_email_alias
  = render 'tabs/tabs', :tabs => [:account, :email]