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