This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
|
# frozen_string_literal: true
|
|
|
|
module FiltersHelper
|
|
def filter_action_label(action)
|
|
safe_join(
|
|
[
|
|
t("simple_form.labels.filters.actions.#{action}"),
|
|
content_tag(:span, t("simple_form.hints.filters.actions.#{action}"), class: 'hint'),
|
|
]
|
|
)
|
|
end
|
|
end
|