X-Git-Url: https://projects.mako.cc/source/selectricity-live/blobdiff_plain/6ee6b1233d213f26c514504e78cd06b1de737943..5fd5cba6038d0ed97adb735cd24cc70c26335a3e:/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 773db65..31974a2 100644 --- a/app/views/quickvote/_results_sidebar.rhtml +++ b/app/views/quickvote/_results_sidebar.rhtml @@ -1,41 +1,5 @@ -

Winner

-<%= render :partial => 'result', :object => @results[@election.election_method] %> - -

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

- - - -

Statistics

-<%= image_tag( graph_url( :action => 'votes_per_interval', :id => @election ))%> -
-
+ +<%= render :partial => 'common/results_sidebar' %>

Voter Report