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.

13 lines
482 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. - unless (@domain_block.noop?)
  5. %p= t(".retroactive.#{@domain_block.severity}")
  6. %p.hint= t(:affected_accounts,
  7. scope: [:admin, :domain_blocks, :show],
  8. count: @domain_block.affected_accounts_count)
  9. .actions
  10. = f.button :button, t('.undo'), type: :submit