Module: Decidim::Consultations::ConsultationsHelper
- Defined in:
- app/helpers/decidim/consultations/consultations_helper.rb
Instance Method Summary collapse
-
#options_for_state_filter ⇒ Object
Returns options for state filter selector.
Instance Method Details
#options_for_state_filter ⇒ Object
Returns options for state filter selector.
7 8 9 10 11 12 13 14 |
# File 'app/helpers/decidim/consultations/consultations_helper.rb', line 7 def [ ["all", t("consultations.filters.all", scope: "decidim")], ["active", t("consultations.filters.active", scope: "decidim")], ["upcoming", t("consultations.filters.upcoming", scope: "decidim")], ["finished", t("consultations.filters.finished", scope: "decidim")] ] end |