<%= form_for(admin_plugins_attack_settings_path, html:{ id: "attack_form", class: "validate" }) do %>

<%= t('plugin.attack.attack_security') %>

<%= t('plugin.attack.form.type_max_requests_time', type: 'GET') %> <%= text_field_tag("attack[get_max]", @attack[:get][:max], class: "required number form-control") %> <%= t('plugin.attack.form.in') %> <%= text_field_tag("attack[get_sec]", @attack[:get][:sec], class: "required number form-control") %> <%= t('plugin.attack.form.seconds') %>
<%= t('plugin.attack.form.type_max_requests_time', type: 'POST') %> <%= text_field_tag("attack[post_max]", @attack[:post][:max], class: "required number form-control") %> <%= t('plugin.attack.form.in') %> <%= text_field_tag("attack[post_sec]", @attack[:post][:sec], class: "required number form-control") %> <%= t('plugin.attack.form.seconds') %>

<%= t('plugin.attack.form.ban_time_minutes') %> <%= text_field_tag("attack[ban]", @attack[:ban], class: "required number form-control") %> <%= t('plugin.attack.form.minutes') %>

<%= text_field_tag("attack[msg]", @attack[:msg], class: "form-control") %>
<% end %>