gitlab-org--gitlab-foss/app/views/shared/_allow_request_access.html.haml

6 lines
390 B
Text

- label_class = local_assigns.fetch(:bold_label, false) ? 'font-weight-bold' : ''
.form-check
= form.check_box :request_access_enabled, class: 'form-check-input', data: { qa_selector: 'request_access_checkbox' }
= form.label :request_access_enabled, class: 'form-check-label' do
%span{ class: label_class }= _('Allow users to request access (if visibility is public or internal)')