Class: Decidim::Problems::ProblemCell
- Inherits:
-
ViewModel
- Object
- ViewModel
- Decidim::Problems::ProblemCell
- Includes:
- Cell::ViewModel::Partial, ProblemCellsHelper, SanitizeHelper
- Defined in:
- app/cells/decidim/problems/problem_cell.rb
Overview
This cell renders the problem card for an instance of a problem the default size is the Medium Card (:m)
Instance Method Summary collapse
Methods included from ProblemCellsHelper
Instance Method Details
#card_size ⇒ Object
16 17 18 |
# File 'app/cells/decidim/problems/problem_cell.rb', line 16 def card_size "decidim/problems/problem_g" end |
#show ⇒ Object
12 13 14 |
# File 'app/cells/decidim/problems/problem_cell.rb', line 12 def show cell card_size, model, end |