{% spaceless %} {% if list %} {% for tuple in list %} {% if tuple.0 not in form.fields and tuple.0 not in ignore_params %} {% endif %} {% endfor %} {% endif %} {% endspaceless %}