Class: Decidim::Proposals::ProposalMCell
- Includes:
- ProposalCellsHelper
- Defined in:
- decidim-proposals/app/cells/decidim/proposals/proposal_m_cell.rb
Overview
This cell renders a proposal with its M-size card.
Instance Method Summary collapse
Methods included from ProposalCellsHelper
#badge_name, #component_settings, #current_component, #current_settings, #from_context, #has_actions?, #index_action?, #proposals_controller?, #state_classes
Methods included from CardHelper
Methods included from TranslatableAttributes
Methods included from TranslationsHelper
empty_translatable, ensure_translatable, multi_translation, translated_in_current_locale?
Methods inherited from CardMCell
Instance Method Details
#badge ⇒ Object
13 14 15 |
# File 'decidim-proposals/app/cells/decidim/proposals/proposal_m_cell.rb', line 13 def badge render if has_badge? end |