Commit aaa50b96 authored by Simon Knox's avatar Simon Knox

Merge branch '358360-use-pajamas-checkbox-group-owners-can-manage-default-branch' into 'master'

Use pajamas checkbox for group owners can manage default branch checkbox

See merge request gitlab-org/gitlab!84851
parents 788946bf 54b70fdc
...@@ -2,9 +2,7 @@ ...@@ -2,9 +2,7 @@
- f = local_assigns.fetch(:form) - f = local_assigns.fetch(:form)
.form-group.form-check .form-group
= f.check_box :group_owners_can_manage_default_branch_protection, class: 'form-check-input' = f.gitlab_ui_checkbox_component :group_owners_can_manage_default_branch_protection,
= f.label :group_owners_can_manage_default_branch_protection, class: 'form-check-label' do _('Allow owners to manage default branch protection per group.'),
= _('Allow owners to manage default branch protection per group.') help_text: s_('AdminSettings|Affects all new and existing groups.')
.form-text.text-muted
= s_("AdminSettings|Affects all new and existing groups.")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment