class Decidim::Meetings::MeetingCell

also available the List Item Card (:list_item)
the default size is the List Card (:l)
This cell renders the meeting card for an instance of a Meeting

def card_size

def card_size
  case @options[:size]
  when :s
    "decidim/meetings/meeting_s"
  else
    "decidim/meetings/meeting_l"
  end
end

def component_name

def component_name
  translated_attribute current_component.name
end

def component_settings

def component_settings
  model.component.settings
end

def component_type_name

def component_type_name
  model.class.model_name.human
end

def current_component

def current_component
  model.component
end

def current_participatory_space

def current_participatory_space
  model.component.participatory_space
end

def participatory_space_name

def participatory_space_name
  translated_attribute current_participatory_space.title
end

def participatory_space_type_name

def participatory_space_type_name
  translated_attribute current_participatory_space.model_name.human
end

def resource_icon

def resource_icon
  icon "meetings", remove_icon_class: true, width: 40, height: 70
end

def show

def show
  cell card_size, model, options
end