<%@election.candidates.length.times do |count|%> <% if (count%2)==0%> <% else %> <% end %> <%end%>

Submit Vote

Drag and drop to rank the choices.

<%= sortable_element 'rankings-list', :url => { :action => "sort_candidates", :id => @voter.vote.id } %>