diff options
Diffstat (limited to 'app/views/users/unsubscribes/show.html.haml')
-rw-r--r-- | app/views/users/unsubscribes/show.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/users/unsubscribes/show.html.haml b/app/views/users/unsubscribes/show.html.haml index df8989ad979..d06c98955c8 100644 --- a/app/views/users/unsubscribes/show.html.haml +++ b/app/views/users/unsubscribes/show.html.haml @@ -1,11 +1,10 @@ - page_title _("Unsubscribe"), _("Admin Notifications") %h1.page-title.gl-font-size-h-display Unsubscribe from Admin notifications -%hr = form_tag unsubscribe_path(Base64.urlsafe_encode64(@email)) do %p Yes, I want to unsubscribe %strong= @email from any further admin emails. - .form-actions - = submit_tag 'Unsubscribe', class: 'gl-button btn btn-confirm' + = render Pajamas::ButtonComponent.new(type: :submit, variant: :confirm) do + = _('Unsubscribe') |