Class: Decidim::Budgets::ProjectMetadataCell

Inherits:
CardMetadataCell
  • Object
show all
Includes:
ProjectsHelper
Defined in:
app/cells/decidim/budgets/project_metadata_cell.rb

Overview

This cell renders metadata for an instance of a Project

Instance Method Summary collapse

Methods included from ProjectsHelper

#budget_confirm_disabled_attr, #budget_to_currency, #budgets_select_tag, #current_order_budget_percent, #current_order_budget_percent_minimum, #current_order_can_be_checked_out?, #current_order_minimum_reached?, #current_rule_call_for_action_text, #current_rule_description, #filter_addition_type_values, #filter_sections, #has_position?, #project_data_for_map, #projects_data_for_map, #reference_budgets_for_select

Constructor Details

#initializeProjectMetadataCell

Returns a new instance of ProjectMetadataCell.



13
14
15
16
17
# File 'app/cells/decidim/budgets/project_metadata_cell.rb', line 13

def initialize(*)
  super

  @items.prepend(*project_items)
end