diff options
author | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 23:11:22 +0300 |
---|---|---|
committer | Clement Ho <ClemMakesApps@gmail.com> | 2018-04-12 23:11:22 +0300 |
commit | c552328617202bd1225abd3e84fc7f4a4b79e4fa (patch) | |
tree | 93b5f95af70561784bb29bd6f7dbd1ef12e69b29 /app/views/admin/application_settings/_ip_limits.html.haml | |
parent | 705d7f703b10f5e1a066d0623bf32d07868d6668 (diff) |
[skip ci] .form-horizontal => .form-group.row
Diffstat (limited to 'app/views/admin/application_settings/_ip_limits.html.haml')
-rw-r--r-- | app/views/admin/application_settings/_ip_limits.html.haml | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/app/views/admin/application_settings/_ip_limits.html.haml b/app/views/admin/application_settings/_ip_limits.html.haml index 5f7fdd08225..d9dc8634b9f 100644 --- a/app/views/admin/application_settings/_ip_limits.html.haml +++ b/app/views/admin/application_settings/_ip_limits.html.haml @@ -1,8 +1,8 @@ -= form_for @application_setting, url: admin_application_settings_path, html: { class: 'form-horizontal fieldset-form' } do |f| += form_for @application_setting, url: admin_application_settings_path, html: { class: 'fieldset-form' } do |f| = form_errors(@application_setting) %fieldset - .form-group + .form-group.row .col-sm-offset-2.col-sm-10 .form-check = f.label :throttle_unauthenticated_enabled do @@ -10,15 +10,15 @@ Enable unauthenticated request rate limit %span.form-text.text-muted Helps reduce request volume (e.g. from crawlers or abusive bots) - .form-group + .form-group.row = f.label :throttle_unauthenticated_requests_per_period, 'Max requests per period per IP', class: 'col-form-label col-sm-2' .col-sm-10 = f.number_field :throttle_unauthenticated_requests_per_period, class: 'form-control' - .form-group + .form-group.row = f.label :throttle_unauthenticated_period_in_seconds, 'Rate limit period in seconds', class: 'col-form-label col-sm-2' .col-sm-10 = f.number_field :throttle_unauthenticated_period_in_seconds, class: 'form-control' - .form-group + .form-group.row .col-sm-offset-2.col-sm-10 .form-check = f.label :throttle_authenticated_api_enabled do @@ -26,15 +26,15 @@ Enable authenticated API request rate limit %span.form-text.text-muted Helps reduce request volume (e.g. from crawlers or abusive bots) - .form-group + .form-group.row = f.label :throttle_authenticated_api_requests_per_period, 'Max requests per period per user', class: 'col-form-label col-sm-2' .col-sm-10 = f.number_field :throttle_authenticated_api_requests_per_period, class: 'form-control' - .form-group + .form-group.row = f.label :throttle_authenticated_api_period_in_seconds, 'Rate limit period in seconds', class: 'col-form-label col-sm-2' .col-sm-10 = f.number_field :throttle_authenticated_api_period_in_seconds, class: 'form-control' - .form-group + .form-group.row .col-sm-offset-2.col-sm-10 .form-check = f.label :throttle_authenticated_web_enabled do @@ -42,11 +42,11 @@ Enable authenticated web request rate limit %span.form-text.text-muted Helps reduce request volume (e.g. from crawlers or abusive bots) - .form-group + .form-group.row = f.label :throttle_authenticated_web_requests_per_period, 'Max requests per period per user', class: 'col-form-label col-sm-2' .col-sm-10 = f.number_field :throttle_authenticated_web_requests_per_period, class: 'form-control' - .form-group + .form-group.row = f.label :throttle_authenticated_web_period_in_seconds, 'Rate limit period in seconds', class: 'col-form-label col-sm-2' .col-sm-10 = f.number_field :throttle_authenticated_web_period_in_seconds, class: 'form-control' |