Class: Decidim::Votings::Admin::PublishResultsForm

Inherits:
Elections::Admin::ActionForm show all
Defined in:
decidim-elections/app/forms/decidim/votings/admin/publish_results_form.rb

Instance Method Summary collapse

Methods inherited from Elections::Admin::ActionForm

#bulletin_board, #current_step, #election, #messages, #pending_action, #refresh

Instance Method Details

#groupsObject


7
8
9
# File 'decidim-elections/app/forms/decidim/votings/admin/publish_results_form.rb', line 7

def groups
  @groups ||= [nil, *election.questions].map { |question| groups_for(question) }
end