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.

15 lines
511 B

  1. - content_for :page_title do
  2. = t('admin.domain_blocks.show.title', domain: @domain_block.domain)
  3. = simple_form_for @domain_block, url: admin_domain_block_path(@domain_block), method: :delete do |f|
  4. = f.input :retroactive,
  5. as: :boolean,
  6. wrapper: :with_label,
  7. label: t(".retroactive.#{@domain_block.severity}"),
  8. hint: t(:affected_accounts,
  9. scope: [:admin, :domain_blocks, :show],
  10. count: @domain_block.accounts_count)
  11. .actions
  12. = f.button :button, t('.undo'), type: :submit