Class: Decidim::Proposals::ProposalTagsCell

Inherits:
ViewModel
  • Object
show all
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

#card_for

Methods included from TranslatableAttributes

#default_locale?

Methods included from TranslationsHelper

empty_translatable, ensure_translatable, multi_translation, translated_in_current_locale?

Instance Method Details

#showObject



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