Sha256: 78a6a8cdabc27078a07864334f3dac95c7e184188355c61750e0a4a3569670dc
Contents?: true
Size: 604 Bytes
Versions: 7
Compression:
Stored size: 604 Bytes
Contents
# frozen_string_literal: true require "cell/partial" module Decidim module Accountability # This cell renders the List (:l) result card # for an instance of a Result class ResultLCell < Decidim::CardLCell include ApplicationHelper include ActiveSupport::NumberHelper alias result model def component_settings controller.try(:component_settings) || result.component.settings end def render_extra_data? true end private def metadata_cell "decidim/accountability/result_metadata" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems