Class: Decidim::Accountability::ResultLCell
- Inherits:
-
CardLCell
- Object
- CardLCell
- Decidim::Accountability::ResultLCell
- Includes:
- ApplicationHelper
- Defined in:
- app/cells/decidim/accountability/result_l_cell.rb
Overview
This cell renders the List (:l) result card for an instance of a Result
Instance Method Summary collapse
Methods included from ApplicationHelper
#apply_accountability_pack_tags, #component_name, #display_percentage, #filter_items_for
Instance Method Details
#component_settings ⇒ Object
14 15 16 |
# File 'app/cells/decidim/accountability/result_l_cell.rb', line 14 def component_settings controller.try(:component_settings) || result.component.settings end |
#render_extra_data? ⇒ Boolean
18 19 20 |
# File 'app/cells/decidim/accountability/result_l_cell.rb', line 18 def render_extra_data? true end |