X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/df1e1ca70a2c618eb376ea6b61207c726beac31d..da6c29f53b3598a6d2d9959df277b0340bc54cee:/app/views/quickvote/_results_sidebar.rhtml diff --git a/app/views/quickvote/_results_sidebar.rhtml b/app/views/quickvote/_results_sidebar.rhtml index 37776b8..13e0dd0 100644 --- a/app/views/quickvote/_results_sidebar.rhtml +++ b/app/views/quickvote/_results_sidebar.rhtml @@ -1,44 +1,8 @@ -

Winner

-<%= render :partial => 'result', :object => @results[@election.election_method] %> - -

This election was run using: -<%= ELECTION_TYPES[@election.election_method] %>

- -

View results with other methods:
-<% type_hash = {}; ELECTION_TYPES.each {|k,v| type_hash[v] = k} %> -<%= select_tag 'election_type_select', options_for_select(type_hash, @election.election_method) %>

- - - -

Statistics

-<%= image_tag( graph_url( :action => 'votes_per_interval', :id => @election ))%> -
-
+ +<%= render_partial 'common/results_sidebar' %>

Voter Report

-

<%= link_to "[View All Voters: Map and Other Info]", :controller => "quickvote", +

<%= link_to "[Map/List of Voters]", :controller => "quickvote", :action => "list_voters", :id => @election.id %>