diff --git a/app/views/profiles/emails/index.html.haml b/app/views/profiles/emails/index.html.haml index a653df98bc1cdf0bb0c87b4d9233e8aa0ae4adee..f6f5a3631949b9998002fd1fba0f69ae1ff004ca 100644 --- a/app/views/profiles/emails/index.html.haml +++ b/app/views/profiles/emails/index.html.haml @@ -47,6 +47,6 @@ %span.label.label-info Public email - if email.email === current_user.notification_email %span.label.label-info Notification email - - if !email.confirmed? + - unless email.confirmed? %span.label.label-warning Unconfirmed = link_to 'Remove', profile_email_path(email), data: { confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-sm btn-warning prepend-left-10'