Add IP-based rules (#14963)

This commit is contained in:
Eugen Rochko
2020-10-12 16:33:49 +02:00
committed by GitHub
parent dc52a778e1
commit 5e1364c448
30 changed files with 530 additions and 21 deletions

View File

@ -0,0 +1,11 @@
.batch-table__row
%label.batch-table__row__select.batch-table__row__select--aligned.batch-checkbox
= f.check_box :ip_block_ids, { multiple: true, include_hidden: false }, ip_block.id
.batch-table__row__content
.batch-table__row__content__text
%samp= "#{ip_block.ip}/#{ip_block.ip.prefix}"
- if ip_block.comment.present?
= ip_block.comment
%br/
= t("simple_form.labels.ip_block.severities.#{ip_block.severity}")