{% for type in questions %} {% if type.0 == 'genericquestion' %} {% else %} {{ type.1 }} {% endif %} {% empty %} {% endfor %}