X-Git-Url: https://projects.mako.cc/source/selectricity/blobdiff_plain/a6c1e9a2e0cb4243fd48b83af0281eccef408b04..d2eb87b3ce3d10f0e8d490d5e248c657125a68a8:/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] %>