<% require 'whois/whois' %>
Quickvote Results
<%= render :partial => 'common/result', :object => @results[@election.election_method] %>
<% if @election.shortdesc %>

Vote Description:

<%=h @election.shortdesc %> <% if @election.longdesc -%>
<%= h(@election.longdesc) -%> <% end -%>
<% end %>

Candidates/choices:

    <% for candidate in @election.candidates.sort %>
  1. <%=h candidate.name.capitalize %>
  2. <% 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 %>