<% require 'whois/whois' %>
Quickvote Results
<% 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 %> (see below for details)
<%= render :partial => 'result_box', :locals => { :method => @election.election_method } %> <% for result_type in @election.other_methods %> <%= render :partial => 'result_box', :locals => { :method => result_type } %> <% end %>