Commit ecdf8513 authored by Brett Walker's avatar Brett Walker

changed from `if !` to `unless`

parent a6045df7
...@@ -47,6 +47,6 @@ ...@@ -47,6 +47,6 @@
%span.label.label-info Public email %span.label.label-info Public email
- if email.email === current_user.notification_email - if email.email === current_user.notification_email
%span.label.label-info Notification email %span.label.label-info Notification email
- if !email.confirmed? - unless email.confirmed?
%span.label.label-warning Unconfirmed %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' = link_to 'Remove', profile_email_path(email), data: { confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-sm btn-warning prepend-left-10'
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment