blob: 4de72f6676ee12c95c9751dff881176c2473b563 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
.span8.offset2
%h2=t :settings
- tabs = []
- content_for :account do
= user_form_with 'login_and_password_fields', :legend => :change_login_and_password if @user == current_user
= render 'cancel_account'
- tabs << :account
- if @user == current_user
- content_for :email do
%legend=t :email_address
=t :associated_email
= render @user.email_address, :as => :span
= user_form_with 'public_key_field', :legend => :public_key
= user_form_with 'email_forward_field', :legend => :forward_email
= user_form_with 'email_aliases', :legend => :add_email_alias
- tabs << :email
= render 'tabs/tabs', :tabs => tabs
|