X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/e565b1cd14149c5edc0106407f79e4ae12b56f10..c8499fcec8f54c148e3b387e6d774a80a20121e3:/app/views/quickvote/results.rhtml?ds=sidebyside 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') %>