Sha256: 7e1f04b574d397b3a10b81721e32f9ff20e932b59758ce491c4ced8159a8cb20
Contents?: true
Size: 467 Bytes
Versions: 16
Compression:
Stored size: 467 Bytes
Contents
# frozen_string_literal: true module Decidim module ParticipatoryProcesses # This cell renders a Statistic of a ParticipatoryProcesses class StatisticCell < Decidim::ViewModel include ActionView::Helpers::NumberHelper private def stat_number number_with_delimiter(model[:stat_number]) end def stat_title t(model[:stat_title], scope: "decidim.participatory_processes.statistics") end end end end
Version data entries
16 entries across 16 versions & 1 rubygems