summaryrefslogtreecommitdiff
path: root/app/views/profiles/emails
diff options
context:
space:
mode:
authorBrett Walker <brett@digitalmoksha.com>2017-09-24 22:21:00 +0200
committerBrett Walker <brett@digitalmoksha.com>2017-09-24 22:21:00 +0200
commit39fbac868197442053d058023206f84f63473551 (patch)
tree9aff4c654b95396331f752796fc52c7d18995b35 /app/views/profiles/emails
parentd97b577a1bee80bd79209d2e6d501d1cd93debcc (diff)
downloadgitlab-ce-39fbac868197442053d058023206f84f63473551.tar.gz
fix whitespace
Diffstat (limited to 'app/views/profiles/emails')
-rw-r--r--app/views/profiles/emails/index.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/profiles/emails/index.html.haml b/app/views/profiles/emails/index.html.haml
index 1b02603543d..b0dc8c526e1 100644
--- a/app/views/profiles/emails/index.html.haml
+++ b/app/views/profiles/emails/index.html.haml
@@ -50,8 +50,7 @@
- unless email.confirmed?
- confirm_title = "#{email.confirmation_sent_at ? 'Resend' : 'Send'} confirmation email"
= link_to confirm_title, resend_confirmation_instructions_profile_email_path(email), method: :put, class: 'btn btn-sm btn-warning prepend-left-10'
-
+
= link_to profile_email_path(email), data: { confirm: 'Are you sure?'}, method: :delete, class: 'btn btn-sm btn-danger prepend-left-10' do
%span.sr-only Remove
= icon('trash')
-