summaryrefslogtreecommitdiff
path: root/users/app/views/users/edit.html.haml
blob: 4192959f5a073bd8dc752535597c6ebbb022448d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.span8.offset2
  %h2=t :settings
  %ul.nav.nav-tabs
    %li.active
      %a{:href => '#account', 'data-toggle' => 'tab'}Account
    %li
      %a{:href => '#email', 'data-toggle' => 'tab'}Email

  .tab-content
    .tab-pane.active#account
      = user_form_with 'login_field', :change_login
      = user_form_with 'password_fields', :change_password
      = render 'cancel_account' if @user == current_user
    .tab-pane#email
      = user_form_with 'email_field', :set_email_address
      = user_form_with 'email_forward_field', :forward_email