diff options
author | Azul <azul@leap.se> | 2012-12-07 12:30:15 +0100 |
---|---|---|
committer | Azul <azul@leap.se> | 2012-12-07 12:30:15 +0100 |
commit | a2d343619e752f62cb7e3445803e4491696af391 (patch) | |
tree | d479b9a11d69d2d4098b4e67058eb11f8ff34b32 /users/app/views/users/edit.html.haml | |
parent | af101adb7c66201e175642ff0ef99988b42d2df2 (diff) |
using normal requests for user updates except password
password requires ajax for secure remote password to work
Diffstat (limited to 'users/app/views/users/edit.html.haml')
-rw-r--r-- | users/app/views/users/edit.html.haml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/users/app/views/users/edit.html.haml b/users/app/views/users/edit.html.haml index 4192959..b33c19b 100644 --- a/users/app/views/users/edit.html.haml +++ b/users/app/views/users/edit.html.haml @@ -8,9 +8,9 @@ .tab-content .tab-pane.active#account - = user_form_with 'login_field', :change_login - = user_form_with 'password_fields', :change_password + = 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 - = user_form_with 'email_field', :set_email_address - = user_form_with 'email_forward_field', :forward_email + = user_form_with 'email_field', :legend => :set_email_address + = user_form_with 'email_forward_field', :legend => :forward_email |