X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/18f4d0bd0025dd963b5fab238964de6d20e0d354..8f1a5a8b6f7f44d557e8772a6f1b7025b406bb4d:/app/views/quickvote/_result_box.rhtml?ds=sidebyside 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] %>