Class: Decidim::Proposals::ProposalMCell

Inherits:
CardMCell
  • Object
show all
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

#card_for

Methods included from TranslatableAttributes

#default_locale?

Methods included from TranslationsHelper

empty_translatable, ensure_translatable, multi_translation, translated_in_current_locale?

Methods inherited from CardMCell

#show

Instance Method Details

#badgeObject


13
14
15
# File 'decidim-proposals/app/cells/decidim/proposals/proposal_m_cell.rb', line 13

def badge
  render if has_badge?
end