Commit 5f6f9f85 authored by Kev's avatar Kev

Migrate LFS checkbox to gitlab_ui_checkbox_component

parent 26720aaf
...@@ -6,8 +6,7 @@ ...@@ -6,8 +6,7 @@
%p= s_('Check the %{docs_link_start}documentation%{docs_link_end}.').html_safe % { docs_link_start: docs_link_start, docs_link_end: '</a>'.html_safe } %p= s_('Check the %{docs_link_start}documentation%{docs_link_end}.').html_safe % { docs_link_start: docs_link_start, docs_link_end: '</a>'.html_safe }
.form-group.gl-mb-3 .form-group.gl-mb-3
.gl-form-checkbox.custom-control.custom-checkbox = f.gitlab_ui_checkbox_component :lfs_enabled,
= f.check_box :lfs_enabled, checked: @group.lfs_enabled?, class: 'custom-control-input', data: { qa_selector: 'lfs_checkbox' } _('Allow projects within this group to use Git LFS'),
= f.label :lfs_enabled, class: 'custom-control-label' do help_text: _('This setting can be overridden in each project.'),
= _('Allow projects within this group to use Git LFS') checkbox_options: { checked: @group.lfs_enabled?, data: { qa_selector: 'lfs_checkbox' } }
%p.help-text= _('This setting can be overridden in each project.')
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