{% for attribute, label in attributes %} {% set ordered = (state.order is defined and state.order == attribute) %} {% endfor %}
{{ label }}