Sha256: cfb7133414e0e90463693c88687b61150f2ae035dc133467de6f74f751518f2d
Contents?: true
Size: 577 Bytes
Versions: 44
Compression:
Stored size: 577 Bytes
Contents
# frozen_string_literal: true module Decidim module Votings # # Decorator for polling station # class PollingStationPresenter < SimpleDelegator include Decidim::SanitizeHelper include Decidim::TranslatableAttributes def polling_station __getobj__ end def title content = translated_attribute(polling_station.title) decidim_html_escape(content) end def address content = translated_attribute(polling_station.address) decidim_html_escape(content) end end end end
Version data entries
44 entries across 44 versions & 1 rubygems