2020-07-07 15:08:49 +00:00
= form_for @application_setting, url: network_admin_application_settings_path(anchor: 'js-import-export-limits-settings'), html: { class: 'fieldset-form' } do |f|
2022-06-14 03:08:16 +00:00
= form_errors(@application_setting, pajamas_alert: true)
2020-07-07 15:08:49 +00:00
2021-09-10 12:10:27 +00:00
%fieldset
= html_escape(_("Set any rate limit to %{code_open}0%{code_close} to disable the limit.")) % { code_open: '<code>'.html_safe, code_close: '</code>'.html_safe }
2020-07-07 15:08:49 +00:00
%fieldset
.form-group
2021-09-10 12:10:27 +00:00
= f.label :project_import_limit, _('Maximum project import requests per minute'), class: 'label-bold'
2021-01-31 18:09:51 +00:00
= f.number_field :project_import_limit, class: 'form-control gl-form-input'
2020-07-07 15:08:49 +00:00
%fieldset
.form-group
2021-09-10 12:10:27 +00:00
= f.label :project_export_limit, _('Maximum project export requests per minute'), class: 'label-bold'
2021-01-31 18:09:51 +00:00
= f.number_field :project_export_limit, class: 'form-control gl-form-input'
2020-07-07 15:08:49 +00:00
%fieldset
.form-group
2021-09-10 12:10:27 +00:00
= f.label :project_download_export_limit, _('Maximum project export download requests per minute'), class: 'label-bold'
2021-01-31 18:09:51 +00:00
= f.number_field :project_download_export_limit, class: 'form-control gl-form-input'
2020-07-07 15:08:49 +00:00
%fieldset
.form-group
2021-09-10 12:10:27 +00:00
= f.label :group_import_limit, _('Maximum group import requests per minute'), class: 'label-bold'
2021-01-31 18:09:51 +00:00
= f.number_field :group_import_limit, class: 'form-control gl-form-input'
2020-07-07 15:08:49 +00:00
%fieldset
.form-group
2021-09-10 12:10:27 +00:00
= f.label :group_export_limit, _('Maximum group export requests per minute'), class: 'label-bold'
2021-01-31 18:09:51 +00:00
= f.number_field :group_export_limit, class: 'form-control gl-form-input'
2020-07-07 15:08:49 +00:00
%fieldset
.form-group
2021-09-10 12:10:27 +00:00
= f.label :group_download_export_limit, _('Maximum group export download requests per minute'), class: 'label-bold'
2021-01-31 18:09:51 +00:00
= f.number_field :group_download_export_limit, class: 'form-control gl-form-input'
2020-07-07 15:08:49 +00:00
2021-08-25 21:10:28 +00:00
= f.submit _('Save changes'), class: "gl-button btn btn-confirm", data: { qa_selector: 'save_changes_button' }