Class: Decidim::Initiatives::InitiativeMetadataGCell
- Inherits:
-
CardMetadataCell
- Object
- CardMetadataCell
- Decidim::Initiatives::InitiativeMetadataGCell
- Includes:
- Cell::ViewModel::Partial, InitiativeHelper
- Defined in:
- app/cells/decidim/initiatives/initiative_metadata_g_cell.rb
Overview
This cell renders the assembly metadata for g card
Instance Method Summary collapse
-
#initialize ⇒ InitiativeMetadataGCell
constructor
A new instance of InitiativeMetadataGCell.
Methods included from InitiativeHelper
#authorized_create_modal_button, #authorized_vote_modal_button, #can_edit_custom_signature_end_date?, #hero_background_path, #humanize_admin_state, #metadata_badge_css_class, #render_committee_tooltip
Constructor Details
#initialize ⇒ InitiativeMetadataGCell
Returns a new instance of InitiativeMetadataGCell.
13 14 15 16 17 |
# File 'app/cells/decidim/initiatives/initiative_metadata_g_cell.rb', line 13 def initialize(*) super @items.prepend(*initiative_items) end |