X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/04f827dd4647f3a7d6e5bd8f5e9083c730a8dccc..3096416bbb8fdc92d7619aecc8237a57532d9066:/app/views/quickvote/results.rhtml?ds=sidebyside diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index ad71fa6..e3644c8 100644 --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -1,36 +1,77 @@ <% %> +
Description:
+<%= @election.shortdesc %> + <% if @election.longdesc -%> ++<% end %> + +
+ <%= h(@election.longdesc) -%> + <% end -%> +
Candidates/choices:
+ +Number of voters:
++ <%= @election.voters.length %> (see below for details) ++ +
Total Votes: <%= @election.voters.length %>
(Assuming top two choices are "approved.")
<%= render :partial => 'result', :object => @approval_result %>IP Address | +DNS/Host | +Vote | +
---|---|---|
<%= voter.ipaddress %> | +<%= `host #{voter.ipaddress}`.sub(/^.*pointer (.*)\.$/, '\1') %> | +<%= voter.vote.votestring %> | +