{% for column in tdata["columns"] %} {% if column!="id" %} {{ column|upper }} {% else %} {% endif %} {% endfor %}