Class: Decidim::Plans::PlanMCell

Inherits:
CardMCell
  • Object
show all
Includes:
PlanCellsHelper
Defined in:
app/cells/decidim/plans/plan_m_cell.rb

Overview

This cell renders a plan with its M-size card.

Instance Method Summary collapse

Methods included from PlanCellsHelper

#badge_name, #component_settings, #current_component, #current_settings, #from_context, #has_actions?, #index_action?, #plans_controller?, #state_classes

Methods included from ApplicationHelper

#authors_for, #current_user_plans, #filter_state_values, #filter_type_values, #humanize_plan_state, #plan_filter_form_for, #plan_state_css_class, #tabs_id_for_content

Methods included from LinksHelper

#request_params, #request_params_query

Instance Method Details

#badgeObject



11
12
13
# File 'app/cells/decidim/plans/plan_m_cell.rb', line 11

def badge
  render if has_badge?
end