summaryrefslogtreecommitdiff
path: root/app/views/shared/_allow_request_access.html.haml
blob: ca82f2f3377101651cdce5ecf3cf934e25474b8c (plain)
1
2
3
4
5
6
- 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)')