Use field level validation errors
All threads resolved!
Merged
requested to merge use-field-level-validation-errors-in-group-reporting-settings-page into master
All threads resolved!
Compare changes
Files
2- Alex Buijs authored
The Group Reporting Settings page uses bootstrap form errors. This changes that to field level validation errors. Changelog: changed EE: true
@@ -7,18 +7,23 @@
@@ -7,18 +7,23 @@
= s_('GroupSettings|Automatically ban users who download more than the specified number of projects within the specified interval.')
= f.label :unique_project_download_limit, s_('GroupSettings|Number of projects'), class: 'label-bold'
= f.number_field :unique_project_download_limit, value: @group.namespace_settings&.unique_project_download_limit, class: 'form-control gl-form-input'
= s_("GroupSettings|The maximum number of unique projects a user can download within the specified interval before they're banned. Set to 0 to disable limiting.")
= f.label :unique_project_download_limit_interval_in_seconds, s_('GroupSettings|Interval (seconds)'), class: 'label-bold'
= f.number_field :unique_project_download_limit_interval_in_seconds, value: @group.namespace_settings&.unique_project_download_limit_interval_in_seconds, class: 'form-control gl-form-input'