summaryrefslogtreecommitdiff
path: root/users/app/views/users/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/views/users/edit.html.haml')
-rw-r--r--users/app/views/users/edit.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/users/app/views/users/edit.html.haml b/users/app/views/users/edit.html.haml
index 4de72f6..97bd48d 100644
--- a/users/app/views/users/edit.html.haml
+++ b/users/app/views/users/edit.html.haml
@@ -2,7 +2,7 @@
%h2=t :settings
- tabs = []
- content_for :account do
- = user_form_with 'login_and_password_fields', :legend => :change_login_and_password if @user == current_user
+ = user_form_with 'login_and_password_fields', :legend => :update_login_and_password if @user == current_user
= render 'cancel_account'
- tabs << :account
- if @user == current_user