show.html.haml 511 B

123456789101112131415
  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