{% for del_no in del_nos_array :%}

{% if "Yes" in print_both_side : %}
{% endif %}
{% endfor %}