summaryrefslogtreecommitdiff
path: root/users
diff options
context:
space:
mode:
authorjessib <jessib@leap.se>2013-01-22 14:43:47 -0800
committerjessib <jessib@leap.se>2013-01-22 14:43:47 -0800
commitc3165f4ff3bafda23d17d96a7148c05e5701e488 (patch)
treea7d401c727255d980316d0dde4b0e5b498dced82 /users
parent9fa4afd9b3fa1210dd467656e5a014ab99c136e1 (diff)
Edit form should show email address for the currently displayed user.
Diffstat (limited to 'users')
-rw-r--r--users/app/views/users/edit.html.haml4
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]