about summary refs log tree commit diff
path: root/app/views/admin/account_actions/new.html.haml
diff options
context:
space:
mode:
authorNick Schonning <nschonni@gmail.com>2023-03-15 15:07:43 -0400
committerGitHub <noreply@github.com>2023-03-15 20:07:43 +0100
commit65669d3c5719e72000bf26849d0ee1eaec1f9d1b (patch)
tree10ee37c8188e69516bd5e9a045f966b6e1124699 /app/views/admin/account_actions/new.html.haml
parent0b8b0ef65221e5341cd81b212f0e40722ffd5ef7 (diff)
Fix more haml-lint Rubocop (#24107)
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 c7bb618df..2a0cae15a 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, 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.pretty_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.pretty_acct)
 
   - if @account.local?
     %hr.spacer/