summaryrefslogtreecommitdiff
path: root/app/views/layouts/header/_registration_enabled_callout.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/header/_registration_enabled_callout.html.haml')
-rw-r--r--app/views/layouts/header/_registration_enabled_callout.html.haml10
1 files changed, 4 insertions, 6 deletions
diff --git a/app/views/layouts/header/_registration_enabled_callout.html.haml b/app/views/layouts/header/_registration_enabled_callout.html.haml
index 52c39fce961..5c70136a932 100644
--- a/app/views/layouts/header/_registration_enabled_callout.html.haml
+++ b/app/views/layouts/header/_registration_enabled_callout.html.haml
@@ -9,9 +9,7 @@
= c.body do
= _("Your GitLab instance allows anyone to register for an account, which is a security risk on public-facing GitLab instances. You should deactivate new sign ups if public users aren't expected to register for an account.")
= c.actions do
- = link_to general_admin_application_settings_path(anchor: 'js-signup-settings'), class: 'btn gl-alert-action btn-confirm btn-md gl-button' do
- %span.gl-button-text
- = _('Deactivate')
- %button.btn.gl-alert-action.btn-default.btn-md.gl-button.js-close
- %span.gl-button-text
- = _('Acknowledge')
+ = render Pajamas::ButtonComponent.new(variant: :confirm, href: general_admin_application_settings_path(anchor: 'js-signup-settings')) do
+ = _('Deactivate')
+ = render Pajamas::ButtonComponent.new(button_options: { class: 'js-close gl-ml-3'}) do
+ = _('Acknowledge')