Class: Decidim::Proposals::CollaborativeDraftCell
- Inherits:
-
ViewModel
- Object
- ViewModel
- Decidim::Proposals::CollaborativeDraftCell
- Includes:
- Cell::ViewModel::Partial, Messaging::ConversationHelper, CollaborativeDraftCellsHelper
- Defined in:
- decidim-proposals/app/cells/decidim/proposals/collaborative_draft_cell.rb
Overview
This cell renders the collaborative_draft card for an instance of a CollaborativeDraft 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 CollaborativeDraftCellsHelper
#badge_name, #component_settings, #current_component, #current_settings, #from_context, #has_actions?, #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
14 15 16 |
# File 'decidim-proposals/app/cells/decidim/proposals/collaborative_draft_cell.rb', line 14 def show cell card_size, model, @options end |