X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/a6c1e9a2e0cb4243fd48b83af0281eccef408b04..81fbc45191a8c9bc5b23e3a997783af59321ff4f:/app/views/quickvote/_results_sidebar.rhtml?ds=sidebyside diff --git a/app/views/quickvote/_results_sidebar.rhtml b/app/views/quickvote/_results_sidebar.rhtml index c60ed3d..13e0dd0 100644 --- a/app/views/quickvote/_results_sidebar.rhtml +++ b/app/views/quickvote/_results_sidebar.rhtml @@ -1,37 +1,8 @@ -

Winner

-<%= render :partial => 'result', :object => @results[@election.election_method] %> + +<%= render_partial 'common/results_sidebar' %> -

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

+

Voter Report

-

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 ))%> +

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