X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/85e3fa6d1b4627157bf6ef456b46dc6ceafe54c0..f8ebf16c9444c239928d730d1f84275b90d733e6:/app/views/quickvote/_results_sidebar.rhtml diff --git a/app/views/quickvote/_results_sidebar.rhtml b/app/views/quickvote/_results_sidebar.rhtml index 773db65..13e0dd0 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