Sha256: 3d72a6d4a1ec58ebbac91bb64bb5cfa5398f4add8d51a13dfef5230277218f7c
Contents?: true
Size: 587 Bytes
Versions: 6
Compression:
Stored size: 587 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 Decidim::Accountability::ApplicationHelper 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
6 entries across 6 versions & 1 rubygems