added support for results for full elections
[selectricity-live] / app / views / quickvote / results.rhtml
index 5fd5f9e4bc0d15cf5cd8defe0a71a97be85a167b..8d8bf5f15d88b9413d534e6930ae8bf5314107d6 100644 (file)
@@ -6,7 +6,7 @@
 </div>
 
 <div id="winner_box">
-<%= render :partial => 'result', :object => @results[@election.election_method] %>
+<%= render :partial => 'common/result', :object => @results[@election.election_method] %>
 </div>
 
 <% if @election.shortdesc %>
      <%= @election.voters.reject {|v| not v.voted? }.length %>
    </blockquote>
 
-<%= render :partial => 'result_box',
+<%= render :partial => 'common/result_box',
            :locals => { :method => @election.election_method } %>
 
 <% for result_type in @election.other_methods %>
 
-<%= render :partial => 'result_box',
+<%= render :partial => 'common/result_box',
            :locals => { :method => result_type } %>
 
 <% end %>

Benjamin Mako Hill || Want to submit a patch?