Class: Decidim::Proposals::CollaborativeDraftMCell
- Inherits:
-
CardMCell
- Object
- CardMCell
- Decidim::Proposals::CollaborativeDraftMCell
- Includes:
- CollaborativeDraftCellsHelper
- Defined in:
- app/cells/decidim/proposals/collaborative_draft_m_cell.rb
Overview
This cell renders a proposal with its M-size card.
Instance Method Summary collapse
Methods included from CollaborativeDraftCellsHelper
#badge_name, #component_settings, #current_component, #current_settings, #from_context, #has_actions?, #state_classes
Methods included from ApplicationHelper
#authors_for, #collaborative_draft_state_badge_css_class, #endorsers_for, #filter_origin_values, #filter_state_values, #filter_type_values, #follow_button_for, #form_has_address?, #humanize_collaborative_draft_state, #humanize_proposal_state, #minimum_votes_per_user_enabled?, #proposal_limit, #proposal_limit_enabled?, #proposal_state_css_class, #show_voting_rules?, #vote_button_for, #votes_count_for, #votes_given
Methods included from ControlVersionHelper
#back_to_resource_path, #back_to_resource_path_text, #proposal?, #resource_all_versions_path, #resource_version_path, #versions_controller?
Methods included from CollaborativeDraftHelper
#accept_request_button_label, #collaborative_drafts_states_collection, #reject_request_button_label
Methods included from MapHelper
Methods included from ProposalEndorsementsHelper
#current_user_can_endorse?, #endorsement_button, #endorsement_button_classes, #endorsement_identity_presenter, #endorsements_blocked?, #endorsements_enabled?, #fully_endorsed?, #render_endorsement_identity, #render_endorsements_button_card_part, #render_endorsements_count_card_part, #show_endorsements_card?
Methods included from ProposalVotesHelper
#can_accumulate_supports_beyond_threshold?, #current_user_can_vote?, #remaining_votes_count_for, #threshold_per_proposal, #threshold_per_proposal_enabled?, #vote_button_classes, #vote_limit, #vote_limit_enabled?, #votes_blocked?, #votes_count_classes, #votes_enabled?
Instance Method Details
#badge ⇒ Object
11 12 13 |
# File 'app/cells/decidim/proposals/collaborative_draft_m_cell.rb', line 11 def badge render end |