Commit e52d938e authored by Jose Ivan Vargas's avatar Jose Ivan Vargas

Merge branch '358362-migrate-to-pajamas' into 'master'

chore: Migrate network incident mgmt checkbox to GitLab UI

See merge request gitlab-org/gitlab!84813
parents 264c255c 31c7515e
= form_for @application_setting, url: network_admin_application_settings_path(anchor: 'js-incident-management-settings'), html: { class: 'fieldset-form' } do |f| = gitlab_ui_form_for @application_setting, url: network_admin_application_settings_path(anchor: 'js-incident-management-settings'), html: { class: 'fieldset-form' } do |f|
= form_errors(@application_setting) = form_errors(@application_setting)
%fieldset %fieldset
.form-group .form-group
.form-check = f.gitlab_ui_checkbox_component :throttle_incident_management_notification_enabled, _('Enable incident management inbound alert limit'), help_text: _('Reduce incident management alert volume (for example, if too many issues are being created).')
= f.check_box :throttle_incident_management_notification_enabled, class: 'form-check-input', data: { qa_selector: 'throttle_unauthenticated_checkbox' }
= f.label :throttle_incident_management_notification_enabled, class: 'form-check-label' do
= _('Enable incident management inbound alert limit')
%span.form-text.gl-text-gray-600
= _('Reduce incident management alert volume (for example, if too many issues are being created).')
.form-group .form-group
= f.label :throttle_incident_management_notification_period_in_seconds, 'Maximum requests per project per rate limit period', class: 'gl-font-weight-bold' = f.label :throttle_incident_management_notification_period_in_seconds, 'Maximum requests per project per rate limit period', class: 'gl-font-weight-bold'
= f.number_field :throttle_incident_management_notification_period_in_seconds, class: 'form-control gl-form-input' = f.number_field :throttle_incident_management_notification_period_in_seconds, class: 'form-control gl-form-input'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment