Class: Decidim::Elections::ElectionMetadataCell
- Inherits:
-
CardMetadataCell
- Object
- CardMetadataCell
- Decidim::Elections::ElectionMetadataCell
- Defined in:
- app/cells/decidim/elections/election_metadata_cell.rb
Overview
This cell renders metadata for an instance of an Election
Instance Method Summary collapse
-
#initialize ⇒ ElectionMetadataCell
constructor
A new instance of ElectionMetadataCell.
Constructor Details
#initialize ⇒ ElectionMetadataCell
Returns a new instance of ElectionMetadataCell.
7 8 9 10 11 |
# File 'app/cells/decidim/elections/election_metadata_cell.rb', line 7 def initialize(*) super @items.prepend(*election_items) end |