about summary refs log tree commit diff
path: root/app/views/admin/account_actions/new.html.haml
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-02-24 16:53:16 +0100
committerGitHub <noreply@github.com>2021-02-24 16:53:16 +0100
commit4f19504986cad8b10211458078757eb5a7e5afd1 (patch)
tree85cd45979abb7103ba86df3188621f4fb2a82422 /app/views/admin/account_actions/new.html.haml
parent5f4c0b79c25486548b44f1bc5d65e7527a4843c4 (diff)
Add inline description of moderation actions in moderation interface (#15792)
Diffstat (limited to 'app/views/admin/account_actions/new.html.haml')
-rw-r--r--app/views/admin/account_actions/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/account_actions/new.html.haml b/app/views/admin/account_actions/new.html.haml
index aa88b1448..ca4f9663f 100644
--- a/app/views/admin/account_actions/new.html.haml
+++ b/app/views/admin/account_actions/new.html.haml
@@ -5,7 +5,7 @@
   = f.input :report_id, as: :hidden
 
   .fields-group
-    = f.input :type, collection: Admin::AccountAction.types_for_account(@account), include_blank: false, wrapper: :with_block_label, label_method: ->(type) { I18n.t("simple_form.labels.admin_account_action.types.#{type}")}, hint: t('simple_form.hints.admin_account_action.type_html', acct: @account.acct)
+    = f.input :type, as: :radio_buttons, collection: Admin::AccountAction.types_for_account(@account), include_blank: false, wrapper: :with_block_label, label_method: ->(type) { safe_join([I18n.t("simple_form.labels.admin_account_action.types.#{type}"), content_tag(:span, I18n.t("simple_form.hints.admin_account_action.types.#{type}"), class: 'hint')])}, hint: t('simple_form.hints.admin_account_action.type_html', acct: @account.acct)
 
   - if @account.local?
     %hr.spacer/