闭社主体 forked from https://github.com/tootsuite/mastodon
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.

25 lines
1.0 KiB

  1. - content_for :page_title do
  2. = t('admin.suspensions.title', acct: @account.acct)
  3. = simple_form_for @suspension, url: admin_account_suspension_path(@account.id), method: :post do |f|
  4. %p.hint= t('admin.suspensions.warning_html')
  5. .fields-group
  6. %ul
  7. %li.negative-hint
  8. = number_to_human @account.statuses_count, strip_insignificant_zeros: true
  9. = t('accounts.posts', count: @account.statuses_count)
  10. %li.negative-hint
  11. = number_to_human @account.following_count, strip_insignificant_zeros: true
  12. = t('accounts.following', count: @account.following_count)
  13. %li.negative-hint
  14. = number_to_human @account.followers_count, strip_insignificant_zeros: true
  15. = t('accounts.followers', count: @account.followers_count)
  16. %p.hint= t('admin.suspensions.hint_html', value: content_tag(:code, @account.acct))
  17. = f.input :acct
  18. = f.input_field :report_id, as: :hidden
  19. .actions
  20. = f.button :button, t('admin.suspensions.proceed'), type: :submit, class: 'negative'