diff options
author | jessib <jessib@leap.se> | 2013-01-22 14:43:47 -0800 |
---|---|---|
committer | jessib <jessib@leap.se> | 2013-01-22 14:43:47 -0800 |
commit | c3165f4ff3bafda23d17d96a7148c05e5701e488 (patch) | |
tree | a7d401c727255d980316d0dde4b0e5b498dced82 | |
parent | 9fa4afd9b3fa1210dd467656e5a014ab99c136e1 (diff) |
Edit form should show email address for the currently displayed user.
-rw-r--r-- | users/app/views/users/edit.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/users/app/views/users/edit.html.haml b/users/app/views/users/edit.html.haml index 03088d8..238c0eb 100644 --- a/users/app/views/users/edit.html.haml +++ b/users/app/views/users/edit.html.haml @@ -6,8 +6,8 @@ = render 'cancel_account' if @user == current_user - content_for :email do %legend=t :email_address - Your email address is - = render user.email_address, :as => :span + The associated email address is + = render @user.email_address, :as => :span = user_form_with 'email_forward_field', :legend => :forward_email = user_form_with 'email_aliases', :legend => :add_email_alias = render 'tabs/tabs', :tabs => [:account, :email] |