Files
grecia/app/helpers/valuation_helper.rb
Javi Martín 4a5d4b3c0b Group investment search form methods together
We had helper methods all over the place which were only used in one
view. Since we're going to change some of them to use the budget as a
parameter, they don't belong in those helpers anymore.

Note the method `budget_heading_select_options` is used in more places,
so we're keeping it where it was.
2020-09-08 18:35:16 +02:00

6 lines
151 B
Ruby

module ValuationHelper
def explanation_field(field)
simple_format_no_tags_no_sanitize(sanitize_and_auto_link(field)) if field.present?
end
end