Class: Decidim::Plans::PlanCell

Inherits:
ViewModel
  • Object
show all
Includes:
Cell::ViewModel::Partial, PlanCellsHelper, Messaging::ConversationHelper
Defined in:
app/cells/decidim/plans/plan_cell.rb

Overview

This cell renders the plan card for an instance of a Plan the default size is the Medium Card (:m)

Instance Method Summary collapse

Methods included from PlanCellsHelper

#badge_name, #component_settings, #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

#showObject



16
17
18
# File 'app/cells/decidim/plans/plan_cell.rb', line 16

def show
  cell card_size, model, options
end