2023-06-01 07:37:38 +00:00
|
|
|
- content_for :page_title do
|
|
|
|
= t('.title', domain: Addressable::IDNA.to_unicode(@domain_block.domain))
|
|
|
|
|
2023-06-27 10:32:51 +00:00
|
|
|
= simple_form_for @domain_block, url: admin_domain_blocks_path, method: :post do |f|
|
2023-06-01 07:37:38 +00:00
|
|
|
%p.hint= t('.preamble_html', domain: Addressable::IDNA.to_unicode(@domain_block.domain))
|
|
|
|
%ul.hint
|
|
|
|
%li= t('.stop_communication')
|
|
|
|
%li= t('.remove_all_data')
|
|
|
|
%li= t('.undo_relationships')
|
|
|
|
%li.negative-hint= t('.permanent_action')
|
|
|
|
|
|
|
|
- %i(domain severity reject_media reject_reports obfuscate private_comment public_comment).each do |key|
|
|
|
|
= f.hidden_field key
|
|
|
|
|
|
|
|
%hr.spacer
|
|
|
|
|
2024-03-20 13:45:34 +00:00
|
|
|
= react_admin_component :impact_report,
|
|
|
|
domain: @domain_block.domain
|
2023-06-01 07:37:38 +00:00
|
|
|
|
|
|
|
.actions
|
|
|
|
= link_to t('.cancel'), admin_instances_path, class: 'button button-tertiary'
|
|
|
|
= f.button :submit, t('.confirm'), class: 'button negative', name: :confirm
|