X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/18f4d0bd0025dd963b5fab238964de6d20e0d354..ca25ff5b7d32b8c3d94dfcbad2e9c3a3cbe21280:/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..30047a4 100644 --- a/app/views/quickvote/_results_sidebar.rhtml +++ b/app/views/quickvote/_results_sidebar.rhtml @@ -1,10 +1,9 @@ -

Winner

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

Method

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

-

View results with other methods:
+

View results using 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) %>

@@ -34,4 +33,11 @@ Event.observe(method_select, 'change', show_results_for);

Statistics

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

Voter Report

+ +

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