Sha256: bf792378f5b5df5358b619bd7329645f665153eed05d360d5adde05c7c9c32ff
Contents?: true
Size: 610 Bytes
Versions: 12
Compression:
Stored size: 610 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings module VotingsHelper include Decidim::CheckBoxesTreeHelper 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 end end end
Version data entries
12 entries across 12 versions & 1 rubygems