debian-mirror-gitlab/app/views/shared/_allow_request_access.html.haml
2021-06-08 01:23:25 +05:30

6 lines
435 B
Text

- 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)')