summaryrefslogtreecommitdiff
path: root/users/app/views
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-02-26 13:24:39 -0800
committerjessib <jessib@leap.se>2013-02-26 13:24:39 -0800
commit97fe2b4d19edacf2ea67c7efcfbec50feca305b0 (patch)
tree73d7bdbf8d0707a0415b95721e27a9ea216c9d8b /users/app/views
parent0f950dcd0dfb65d484346606943d08b9529d61bd (diff)
Change to language for when updating username/password.
Diffstat (limited to 'users/app/views')
-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