Sha256: 74b45e0f9ffc3373c354e5cb98213b82ac0995dbaacd53a7352a4cd639b76060
Contents?: true
Size: 379 Bytes
Versions: 7
Compression:
Stored size: 379 Bytes
Contents
# frozen_string_literal: true module Decidim # This cell renders a Statistic of a Resource class StatisticCell < Decidim::ViewModel private def stat_number number_with_delimiter(model[:stat_number]) end def stat_dom_class model[:stat_title] end def stat_title t(model[:stat_title], scope: "decidim.statistics") end end end
Version data entries
7 entries across 7 versions & 1 rubygems