X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/df1e1ca70a2c618eb376ea6b61207c726beac31d..a01d9f4125b50be06f05e304e44200b970e9300d:/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 %>