X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/4559fe1efcc210dae16f5846dc49c2bde6e5c7cf..37ccb3a5511504b6b58c3fe70135e016d0a61bfd:/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] %>