blob: 8fc2cab988b4e8d031b4907506bfdfd984dc6836 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
.span8.offset2
%h2=t :settings
%ul.nav.nav-tabs
%li{:class => email_settings? ? :inactive : :active}
%a{:href => '#account', 'data-toggle' => 'tab'}Account
%li{:class => email_settings? ? :active : :inactive}
%a{:href => '#email', 'data-toggle' => 'tab'}Email
.tab-content
.tab-pane#account{:class => email_settings? ? :inactive : :active}
= user_form_with 'login_field', :legend => :change_login
= user_form_with 'password_fields', :legend => :change_password
= render 'cancel_account' if @user == current_user
.tab-pane#email{:class => email_settings? ? :active : :inactive}
= user_form_with 'email_field', :legend => :set_email_address
= user_form_with 'email_forward_field', :legend => :forward_email
= user_form_with 'email_aliases', :legend => :add_email_alias
|