Add option to block reports from domain (#8830)

This commit is contained in:
Eugen Rochko
2018-10-20 08:02:44 +02:00
committed by GitHub
parent d5bfba3262
commit fd5285658f
12 changed files with 54 additions and 23 deletions

View File

@ -17,5 +17,8 @@
.fields-group
= f.input :reject_media, as: :boolean, wrapper: :with_label, label: I18n.t('admin.domain_blocks.reject_media'), hint: I18n.t('admin.domain_blocks.reject_media_hint')
.fields-group
= f.input :reject_reports, as: :boolean, wrapper: :with_label, label: I18n.t('admin.domain_blocks.reject_reports'), hint: I18n.t('admin.domain_blocks.reject_reports_hint')
.actions
= f.button :button, t('.create'), type: :submit