<% require 'whois/whois' %>
Results <%= @election.name %>
<%= 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 %>

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 %>