diff options
author | Claire <claire.github-309c@sitedethib.com> | 2023-03-18 11:17:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-18 11:17:46 +0100 |
commit | 00fe0f6cb4a736bbb5e633c567ddf7ac9a09ce69 (patch) | |
tree | 9ddf09dda84c65904c36dec759834ea446b4ac5d /app/views/admin/account_actions/new.html.haml | |
parent | f5daa20f2a90098c9d689c5ec9d95ce9887b3a33 (diff) | |
parent | 8f97ffe91e79c0418666f64b5830d3e74fcc83ba (diff) |
Merge pull request #2136 from ClearlyClaire/glitch-soc/merge-upstream
Merge upstream changes
Diffstat (limited to 'app/views/admin/account_actions/new.html.haml')
-rw-r--r-- | app/views/admin/account_actions/new.html.haml | 2 |
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/ |