X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/2b0073e486a86c2546b58a7ffc10d641f73d196a..df1e1ca70a2c618eb376ea6b61207c726beac31d:/app/views/quickvote/_result_box.rhtml diff --git a/app/views/quickvote/_result_box.rhtml b/app/views/quickvote/_result_box.rhtml index 41d9d17..917dbd4 100644 --- a/app/views/quickvote/_result_box.rhtml +++ b/app/views/quickvote/_result_box.rhtml @@ -9,8 +9,11 @@ <% end %> +<% unless @election.election_method == method -%> +<%= render :partial => 'result', :object => @results[method]%> +<% end -%> <%= render :partial => 'methodinfo_' + method, - :object => @results[@election.election_method] %> + :object => @results[method] %>