Module: Decidim::Votings::VotingsHelper
- Includes:
- CheckBoxesTreeHelper
- Defined in:
- decidim-elections/app/helpers/decidim/votings/votings_helper.rb
Instance Method Summary collapse
Instance Method Details
#date_filter_values ⇒ Object
8 9 10 11 12 13 14 15 16 17 |
# File 'decidim-elections/app/helpers/decidim/votings/votings_helper.rb', line 8 def date_filter_values TreeNode.new( TreePoint.new("", t("votings.filters.all", scope: "decidim.votings")), [ TreePoint.new("active", t("votings.filters.active", scope: "decidim.votings")), TreePoint.new("upcoming", t("votings.filters.upcoming", scope: "decidim.votings")), TreePoint.new("finished", t("votings.filters.finished", scope: "decidim.votings")) ] ) end |