4 <% if @election.shortdesc %>
5 <p><strong>Description:</strong></p>
6 <blockquote><em><%= @election.shortdesc %></em>
7 <% if @election.longdesc -%>
9 <%= h(@election.longdesc) -%>
14 <p><strong>Candidates/choices:</strong></p>
17 <% for candidate in @election.candidates.sort %>
18 <li><%= candidate.name.capitalize %></li>
22 <p><strong>Number of voters:</strong></p>
24 <%= @election.voters.length %> (see below for details)
29 <div class="mainresultbox">
30 <center><h3>Condorcet (w/ Cloneproof SSD) Results</h3></center>
31 <%= render :partial => 'result', :object => @ssd_result %>
34 <div class="resultbox">
35 <h3>Plurality Results</h3>
36 <%= render :partial => 'result', :object => @plurality_result %>
39 <div class="resultbox">
40 <h3>Approval Result</h3>
41 <p><font size="-1">(Assuming top two choices are "approved.")</font></p>
42 <%= render :partial => 'result', :object => @approval_result %>
45 <div class="resultbox">
46 <h3>Simple Condorcet Results</h3>
47 <%= render :partial => 'result', :object => @condorcet_result %>
50 <div class="resultbox">
51 <h3>Borda Count Results</h3>
52 <%= render :partial => 'result', :object => @borda_result %>
55 <div class="resultbox">
56 <h3>Instant Runoff (IRV) Results</h3>
57 <%= render :partial => 'result', :object => @runoff_result %>
60 <div class="clearbox"></div>
70 <% for voter in @election.voters %>
72 <td><%= voter.ipaddress %></td>
73 <td><%= `host #{voter.ipaddress}`.sub(/^.*pointer (.*)\.$/, '\1') %></td>
74 <td><%= voter.vote.votestring %></td>