Class: Decidim::Plans::CoauthorshipsCell
- Inherits:
-
CoauthorshipsCell
- Object
- CoauthorshipsCell
- Decidim::Plans::CoauthorshipsCell
- Defined in:
- app/cells/decidim/plans/coauthorships_cell.rb
Instance Method Summary collapse
Instance Method Details
#show ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
# File 'app/cells/decidim/plans/coauthorships_cell.rb', line 6 def show if cell "decidim/plans/author", (model), extra_classes.merge(has_actions: has_actions?, from: model) else cell( "decidim/plans/collapsible_authors", presenters_for_identities(model), cell_name: "decidim/plans/author", cell_options: extra_classes, size: size, from: model, has_actions: has_actions? ) end end |