% @results = @election.results %> <% @names = @election.names_by_id %> <% @candidates = @election.candidate_hash %> <% require 'whois/whois' %>
Vote Description:
<%=h @election.shortdesc %> <% if @election.longdesc -%><% end %>
<%= h(@election.longdesc) -%> <% 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 %>