Class: Decidim::Proposals::ProposalTagsCell
- Inherits:
-
ViewModel
- Object
- ViewModel
- Decidim::Proposals::ProposalTagsCell
- Includes:
- ProposalCellsHelper
- Defined in:
- decidim-proposals/app/cells/decidim/proposals/proposal_tags_cell.rb
Overview
This cell renders the tags for a proposal.
Instance Method Summary collapse
Methods included from ProposalCellsHelper
#badge_name, #component_settings, #current_component, #current_settings, #from_context, #has_actions?, #has_footer?, #index_action?, #proposals_controller?, #state_classes
Methods included from CardHelper
Methods included from TranslatableAttributes
Methods included from TranslationsHelper
empty_translatable, ensure_translatable, multi_translation, translated_in_current_locale?
Instance Method Details
#show ⇒ Object
16 17 18 |
# File 'decidim-proposals/app/cells/decidim/proposals/proposal_tags_cell.rb', line 16 def show render if has_category_or_scopes? end |