Class: Decidim::Budgets::BudgetsListCell
- Includes:
- Cell::ViewModel::Partial, CellsPaginateHelper, Orderable, OrdersHelper
- Defined in:
- app/cells/decidim/budgets/budgets_list_cell.rb
Overview
This cell renders the budgets list of a Budget component
Constant Summary collapse
- AVAILABLE_ORDERS =
%w(random highest_cost lowest_cost).freeze
Instance Method Summary collapse
Methods inherited from BaseCell
Instance Method Details
#main_list ⇒ Object
25 |
# File 'app/cells/decidim/budgets/budgets_list_cell.rb', line 25 def main_list = render |
#show ⇒ Object
19 20 21 22 23 |
# File 'app/cells/decidim/budgets/budgets_list_cell.rb', line 19 def show return unless budgets render end |