Commit 8bd40e28 authored by Kev's avatar Kev Committed by Mark Florian

Migrate member lock checkbox to gitlab_ui_checkbox_component

parent 6f3a04cf
......@@ -2,7 +2,6 @@
%h5= _('Member lock')
.form-group
.gl-form-checkbox.custom-control.custom-checkbox
= f.check_box :membership_lock, class: 'custom-control-input', data: { qa_selector: 'membership_lock_checkbox' }
= f.label :membership_lock, class: 'custom-control-label' do
= _('Prevent adding new members to project membership within this group')
= f.gitlab_ui_checkbox_component :membership_lock,
_('Prevent adding new members to project membership within this group'),
checkbox_options: { data: { qa_selector: 'membership_lock_checkbox' } }
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