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.
13 lines
331 B
13 lines
331 B
12 months ago
|
# frozen_string_literal: true
|
||
|
|
||
|
module Admin::AccountActionsHelper
|
||
|
def account_action_type_label(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'),
|
||
|
]
|
||
|
)
|
||
|
end
|
||
|
end
|