summaryrefslogtreecommitdiff
path: root/users/app/views/emails/_email.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'users/app/views/emails/_email.html.haml')
-rw-r--r--users/app/views/emails/_email.html.haml13
1 files changed, 6 insertions, 7 deletions
diff --git a/users/app/views/emails/_email.html.haml b/users/app/views/emails/_email.html.haml
index 948d847..e96385d 100644
--- a/users/app/views/emails/_email.html.haml
+++ b/users/app/views/emails/_email.html.haml
@@ -1,7 +1,6 @@
-- if email.valid?
- %li.pull-right
- %code= email
- - if params[:action] == 'edit'
- = link_to(user_email_alias_path(@user, email), :method => :delete) do
- %i.icon-remove
- .clearfix
+%li.pull-right
+ %code= email
+ - if params[:action] == 'edit'
+ = link_to(user_email_alias_path(@user, email), :method => :delete) do
+ %i.icon-remove
+.clearfix