summaryrefslogtreecommitdiff
path: root/app/views/shared/_allow_request_access.html.haml
blob: ca09fd39dc135d98d3346c3f11e315c8815fe3e7 (plain)
1
2
3
4
5
6
- label_class = local_assigns.fetch(:bold_label, false) ? 'font-weight-bold' : ''

= 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' } }