diff options
| author | Brett Walker <brett@digitalmoksha.com> | 2017-09-24 22:21:00 +0200 |
|---|---|---|
| committer | Brett Walker <brett@digitalmoksha.com> | 2017-09-24 22:21:00 +0200 |
| commit | 39fbac868197442053d058023206f84f63473551 (patch) | |
| tree | 9aff4c654b95396331f752796fc52c7d18995b35 | |
| parent | d97b577a1bee80bd79209d2e6d501d1cd93debcc (diff) | |
| download | gitlab-ce-39fbac868197442053d058023206f84f63473551.tar.gz | |
fix whitespace
| -rw-r--r-- | app/views/devise/mailer/confirmation_instructions.html.haml | 2 | ||||
| -rw-r--r-- | app/views/profiles/emails/index.html.haml | 3 |
2 files changed, 2 insertions, 3 deletions
diff --git a/app/views/devise/mailer/confirmation_instructions.html.haml b/app/views/devise/mailer/confirmation_instructions.html.haml index d2685140913..50ee7b53d8f 100644 --- a/app/views/devise/mailer/confirmation_instructions.html.haml +++ b/app/views/devise/mailer/confirmation_instructions.html.haml @@ -1 +1 @@ -= render partial: "confirmation_instructions_#{@resource.is_a?(User) ? 'account' : 'secondary'}"
\ No newline at end of file += render partial: "confirmation_instructions_#{@resource.is_a?(User) ? 'account' : 'secondary'}" 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') - |
