X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/94f498a0718776efa90193c918c6dd22f51329ac..b295af01a2ff034c9693ea8f9ad26fa179b335ed:/app/views/quickvote/_results_sidebar.rhtml?ds=inline diff --git a/app/views/quickvote/_results_sidebar.rhtml b/app/views/quickvote/_results_sidebar.rhtml index 704c052..773db65 100644 --- a/app/views/quickvote/_results_sidebar.rhtml +++ b/app/views/quickvote/_results_sidebar.rhtml @@ -1,2 +1,44 @@ +
This election was run using: +<%= ELECTION_TYPES[@election.election_method] %>
+ +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) %>
<%= link_to "[Map/List of Voters]", :controller => "quickvote", + :action => "list_voters", :id => @election.id %>