Condorcet (w/ Cloneproof SSD) Results
-<%= render :partial => 'result', :object => @ssd_result %> +
+ Quickvote
+ Results
-
-
Plurality Results
-<%= render :partial => 'result', :object => @plurality_result %> +
+<%= render :partial => 'common/result', :object => @results[@election.election_method] %>
-
-
+<% if @election.shortdesc %>
+ Approval Result
-(Assuming top two choices are "approved.")
-<%= render :partial => 'result', :object => @approval_result %> -Vote Description:
+<%=h @election.shortdesc %> + <% if @election.longdesc -%> ++<% end %> -
+ <%= h(@election.longdesc) -%> + <% end -%> +
-
+Simple Condorcet Results
-<%= render :partial => 'result', :object => @condorcet_result %> -Candidates/choices:
-
-
+Borda Count Results
-<%= render :partial => 'result', :object => @borda_result %> --
+ <% for candidate in @election.candidates.sort %>
+
- <%= white_list(candidate.name.capitalize) %> + <% end %> +
Number of voters:
++ <%= @election.voters.reject {|v| not v.voted? }.length %> ++ +<%= render :partial => 'common/result_box', + :locals => { :method => @election.election_method } %> + +<% for result_type in @election.other_methods %> + +<%= render :partial => 'common/result_box', + :locals => { :method => result_type } %> + +<% end %> + + + + + -
-
-