Sha256: af74beae0ef29a11b958d7d32d0b8bc3b54eceab2ab7d1fd3fc96fa8e5e76b4f
Contents?: true
Size: 612 Bytes
Versions: 25
Compression:
Stored size: 612 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings module VotingsHelper include Decidim::CheckBoxesTreeHelper def filter_states_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
25 entries across 25 versions & 1 rubygems