~cytrogen/masto-fe

ref: d7fcd70023d481cb6a53aef7a58dabfd6a2fa7b2 masto-fe/app/views/admin/domain_blocks/confirm_suspension.html.haml -rw-r--r-- 832 bytes
d7fcd700 — Claire Merge commit '2016c5d912f400ae98ee03ce269112de2f9ec62d' into glitch-soc/merge-upstream 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- content_for :page_title do
  = t('.title', domain: Addressable::IDNA.to_unicode(@domain_block.domain))

= simple_form_for @domain_block, url: admin_domain_blocks_path, method: :post do |f|

  %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

  = react_admin_component :impact_report, domain: @domain_block.domain

  .actions
    = link_to t('.cancel'), admin_instances_path, class: 'button button-tertiary'
    = f.button :submit, t('.confirm'), class: 'button negative', name: :confirm