提交 ecdf8513 编写于 作者: B Brett Walker

changed from `if !` to `unless`

上级 a6045df7
......@@ -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'
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册