{% load static %} {% if values|length > 0 %} {% if label_position != 'none' %} ({{ key }}: {% endif %} {% for value in values %} {{ value.0 }} {% if value.2 %} {{ value.2 }} {% endif %} {% endfor %}) {% endif %}