X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/07c4c28f94d7628c0d5c48db810956f680c5f48e..d2eb87b3ce3d10f0e8d490d5e248c657125a68a8:/app/views/quickvote/_results_sidebar.rhtml diff --git a/app/views/quickvote/_results_sidebar.rhtml b/app/views/quickvote/_results_sidebar.rhtml index 37776b8..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) %>

@@ -39,6 +38,6 @@ Event.observe(method_select, 'change', show_results_for);

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