Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/shared/_allow_request_access.html.haml')
-rw-r--r--app/views/shared/_allow_request_access.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/shared/_allow_request_access.html.haml b/app/views/shared/_allow_request_access.html.haml
index 93868f13e58..ca09fd39dc1 100644
--- a/app/views/shared/_allow_request_access.html.haml
+++ b/app/views/shared/_allow_request_access.html.haml
@@ -1,6 +1,6 @@
- label_class = local_assigns.fetch(:bold_label, false) ? 'font-weight-bold' : ''
-.gl-form-checkbox.custom-control.custom-checkbox
- = form.check_box :request_access_enabled, class: 'custom-control-input', data: { qa_selector: 'request_access_checkbox' }
- = form.label :request_access_enabled, class: 'custom-control-label' do
- %span{ class: label_class }= _('Allow users to request access (if visibility is public or internal)')
+= 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' } }