diff options
author | jessib <jessib@riseup.net> | 2013-01-17 09:36:27 -0800 |
---|---|---|
committer | jessib <jessib@riseup.net> | 2013-01-17 09:36:27 -0800 |
commit | b550cd14f33b9664fe6b547dc56107fae7d12caf (patch) | |
tree | 78034e20632f9e6361deb7e1000db0bcb079f03f /users/app/views/emails | |
parent | ee2ea4ac8f4c6b0c3b09be6ed49e7a1faec7a9c1 (diff) | |
parent | 9d53f7b2d1b34da6b6103e97bd6c931cedb23e9b (diff) |
Merge pull request #14 from leapcode/feature/show_user
Adding show view for users.
Diffstat (limited to 'users/app/views/emails')
-rw-r--r-- | users/app/views/emails/_email.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/users/app/views/emails/_email.html.haml b/users/app/views/emails/_email.html.haml index 3feb6f0..948d847 100644 --- a/users/app/views/emails/_email.html.haml +++ b/users/app/views/emails/_email.html.haml @@ -1,6 +1,7 @@ - if email.valid? %li.pull-right %code= email - = link_to(user_email_alias_path(@user, email), :method => :delete) do - %i.icon-remove + - if params[:action] == 'edit' + = link_to(user_email_alias_path(@user, email), :method => :delete) do + %i.icon-remove .clearfix |