mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-20 09:41:28 +09:00
13 lines
285 B
Ruby
13 lines
285 B
Ruby
# 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
|