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