X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/4e41e4ab171d4d47cdac0f8676bf78d36e6eb007..18f4d0bd0025dd963b5fab238964de6d20e0d354:/app/views/quickvote/_results_sidebar.rhtml diff --git a/app/views/quickvote/_results_sidebar.rhtml b/app/views/quickvote/_results_sidebar.rhtml index 704c052..c60ed3d 100644 --- a/app/views/quickvote/_results_sidebar.rhtml +++ b/app/views/quickvote/_results_sidebar.rhtml @@ -1,2 +1,37 @@ +
This election was run using: +<%= ELECTION_TYPES[@election.election_method] %>
+ +View results with 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) %>