X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/8964e46880760a85a7c86a239f032c841a96410d..538c52ea43285fc1ae40e3c3ff5ee78befa1c142:/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 704c052..30047a4 100644 --- a/app/views/quickvote/_results_sidebar.rhtml +++ b/app/views/quickvote/_results_sidebar.rhtml @@ -1,2 +1,43 @@ +
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 %>