Commit 8e1dbf0a authored by Savas Vedova's avatar Savas Vedova

Merge branch '336687-Migrate-LFS-checkbox-to-gitlab_ui_checkbox_component' into 'master'

Migrate LFS checkbox to gitlab_ui_checkbox_component

See merge request gitlab-org/gitlab!66691
parents f23f3109 5f6f9f85
......@@ -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 }
.form-group.gl-mb-3
.gl-form-checkbox.custom-control.custom-checkbox
= f.check_box :lfs_enabled, checked: @group.lfs_enabled?, class: 'custom-control-input', data: { qa_selector: 'lfs_checkbox' }
= f.label :lfs_enabled, class: 'custom-control-label' do
= _('Allow projects within this group to use Git LFS')
%p.help-text= _('This setting can be overridden in each project.')
= f.gitlab_ui_checkbox_component :lfs_enabled,
_('Allow projects within this group to use Git LFS'),
help_text: _('This setting can be overridden in each project.'),
checkbox_options: { checked: @group.lfs_enabled?, data: { qa_selector: 'lfs_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