Class: Decidim::Proposals::ParticipatoryTextProposalCell

Inherits:
ViewModel
  • Object
show all
Includes:
Cell::ViewModel::Partial, Messaging::ConversationHelper, ProposalCellsHelper, SanitizeHelper
Defined in:
decidim-proposals/app/cells/decidim/proposals/participatory_text_proposal_cell.rb

Overview

This cell renders the participatory text proposal card for an instance of a Proposal the default size is the Medium Card (:m)

Instance Method Summary collapse

Methods included from Messaging::ConversationHelper

#conversation_between, #conversation_between_multiple, #conversation_label_for, #conversation_name_for, #current_or_new_conversation_path_with, #current_or_new_conversation_path_with_multiple, #link_to_current_or_new_conversation_with, #text_link_to_current_or_new_conversation_with, #username_list

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



15
16
17
# File 'decidim-proposals/app/cells/decidim/proposals/participatory_text_proposal_cell.rb', line 15

def show
  render
end