confirm_suspension.html.haml 831 B

123456789101112131415161718192021
  1. - content_for :page_title do
  2. = t('.title', domain: Addressable::IDNA.to_unicode(@domain_block.domain))
  3. = simple_form_for @domain_block, url: admin_domain_blocks_path, method: :post do |f|
  4. %p.hint= t('.preamble_html', domain: Addressable::IDNA.to_unicode(@domain_block.domain))
  5. %ul.hint
  6. %li= t('.stop_communication')
  7. %li= t('.remove_all_data')
  8. %li= t('.undo_relationships')
  9. %li.negative-hint= t('.permanent_action')
  10. - %i(domain severity reject_media reject_reports obfuscate private_comment public_comment).each do |key|
  11. = f.hidden_field key
  12. %hr.spacer
  13. = react_admin_component :impact_report, domain: @domain_block.domain
  14. .actions
  15. = link_to t('.cancel'), admin_instances_path, class: 'button button-tertiary'
  16. = f.button :submit, t('.confirm'), class: 'button negative', name: :confirm