account_actions_helper.rb 331 B

123456789101112
  1. # frozen_string_literal: true
  2. module Admin::AccountActionsHelper
  3. def account_action_type_label(type)
  4. safe_join(
  5. [
  6. I18n.t("simple_form.labels.admin_account_action.types.#{type}"),
  7. content_tag(:span, I18n.t("simple_form.hints.admin_account_action.types.#{type}"), class: 'hint'),
  8. ]
  9. )
  10. end
  11. end