X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/e565b1cd14149c5edc0106407f79e4ae12b56f10..c65b1e11059c5cf510b54c785d4a246215058f70:/app/views/quickvote/results.rhtml diff --git a/app/views/quickvote/results.rhtml b/app/views/quickvote/results.rhtml index fe2b09a..7152072 100644 --- 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') %> @@ -161,3 +161,7 @@ by several other names.

<% end %> + + +<%= image_tag( graph_url( :action => 'day_votes', :id => @election ) ) %> +<%= image_tag( graph_url( :action => 'show' ) ) %>