Class: Decidim::Elections::ElectionCell

Inherits:
ViewModel
  • Object
show all
Includes:
Cell::ViewModel::Partial, ElectionCellsHelper
Defined in:
decidim-elections/app/cells/decidim/elections/election_cell.rb

Overview

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

Instance Method Summary collapse

Methods included from Comments::CommentsHelper

#comments_for, #inline_comments_for

Methods included from PaginateHelper

#decidim_paginate, #per_page

Instance Method Details

#showObject



11
12
13
# File 'decidim-elections/app/cells/decidim/elections/election_cell.rb', line 11

def show
  cell card_size, model, options
end