2018-12-13 13:39:08 +05:30
|
|
|
- label_class = local_assigns.fetch(:bold_label, false) ? 'font-weight-bold' : ''
|
|
|
|
|
2021-10-27 15:23:28 +05:30
|
|
|
= form.gitlab_ui_checkbox_component :request_access_enabled,
|
|
|
|
_('Allow users to request access (if visibility is public or internal)'),
|
|
|
|
label_options: { class: label_class },
|
|
|
|
checkbox_options: { data: { qa_selector: 'request_access_checkbox' } }
|