working quickvote support created
[selectricity] / app / views / quickvote / results.rhtml
1 <% %>
2
3 <h1><em><%= @election.name %></em> Results</h1>
4
5 <p>Total Votes: <strong><%= @election.voters.length %></strong></p>
6 <div class="mainresultbox">
7 <h2>Condorcet (w/ Cloneproof SSD) Results</h2>
8 <%= render :partial => 'result', :object => @ssd_result %>
9 </div>
10
11 <div class="resultbox">
12 <h2>Plurality Results</h2>
13 <%= render :partial => 'result', :object => @plurality_result %>
14 </div>
15
16 <div class="resultbox">
17 <h2>Approval Result</h2>
18 <p><font size="-1">(Assuming top two choices are "approved.")</font></p>
19 <%= render :partial => 'result', :object => @approval_result %>
20 </div>
21
22 <div class="resultbox">
23 <h2>Simple Condorcet Results</h2>
24 <%= render :partial => 'result', :object => @condorcet_result %>
25 </div>
26
27 <div class="resultbox">
28 <h2>Borda Count Results</h2>
29 <%= render :partial => 'result', :object => @borda_result %>
30 </div>
31
32 <div class="resultbox">
33 <h2>Instant Runoff (IRV) Results</h2>
34 <%= render :partial => 'result', :object => @runoff_result %>
35 </div>
36 </div>

Benjamin Mako Hill || Want to submit a patch?