1 <% require 'whois/whois' %>
3 <div id="title-header">
4 <span class="header">Quickvote</span>
5 <span class="subheader">Results</span>
9 <%= render :partial => 'common/result', :object => @results[@election.election_method] %>
12 <% if @election.shortdesc %>
13 <p><strong>Vote Description:</strong></p>
14 <blockquote><em><%=h @election.shortdesc %></em>
15 <% if @election.longdesc -%>
17 <%= h(@election.longdesc) -%>
22 <p><strong>Candidates/choices:</strong></p>
25 <% for candidate in @election.candidates.sort %>
26 <li><%=h candidate.name.capitalize %></li>
30 <p><strong>Number of voters:</strong></p>
32 <%= @election.voters.reject {|v| not v.voted? }.length %>
35 <%= render :partial => 'common/result_box',
36 :locals => { :method => @election.election_method } %>
38 <% for result_type in @election.other_methods %>
40 <%= render :partial => 'common/result_box',
41 :locals => { :method => result_type } %>
46 <div class="clear-div"></div>
49 <%= image_tag( graph_url( :action => 'choices_positions', :id => @election ) ) %><br />