You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
779 B

  1. - content_for :page_title do
  2. New domain block
  3. = simple_form_for @domain_block, url: admin_domain_blocks_path do |f|
  4. = render 'shared/error_messages', object: @domain_block
  5. %p.hint The domain block will not prevent creation of account entries in the database, but will retroactively and automatically apply specific moderation methods on those accounts.
  6. = f.input :domain, placeholder: 'Domain'
  7. = f.input :severity, collection: DomainBlock.severities.keys, wrapper: :with_label, include_blank: false
  8. %p.hint
  9. %strong Silence
  10. will make the account's posts invisible to anyone who isn't following them.
  11. %strong Suspend
  12. will remove all of the account's content, media, and profile data.
  13. .actions
  14. = f.button :button, 'Create block', type: :submit