X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/e565b1cd14149c5edc0106407f79e4ae12b56f10..b8482ad1846436439b9ef3ba0ddcb3b42588d916:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml old mode 100644 new mode 100755 index fe2b09a..8ce400a --- a/app/views/quickvote/results.rhtml +++ b/app/views/quickvote/results.rhtml @@ -21,7 +21,7 @@

Number of voters:

- <%= @election.voters.length %> (see below for details) + <%= @election.voters.reject {|v| not v.voted? }.length %> (see below for details)

Winners

@@ -123,7 +123,6 @@ points is the winner.

Instant Runoff (IRV) Results

-<%= render :partial => 'result', :object => @runoff_result %>
About Instant Runoff Voting @@ -154,6 +153,7 @@ by several other names.

Vote <% for voter in @election.voters %> + <% next unless voter.voted? %> <%= voter.ipaddress %> <%= `host #{voter.ipaddress}`.sub(/^.*pointer (.*)\.$/, '\1') %>