filters_helper.rb 285 B

123456789101112
  1. # frozen_string_literal: true
  2. module FiltersHelper
  3. def filter_action_label(action)
  4. safe_join(
  5. [
  6. t("simple_form.labels.filters.actions.#{action}"),
  7. content_tag(:span, t("simple_form.hints.filters.actions.#{action}"), class: 'hint'),
  8. ]
  9. )
  10. end
  11. end