{% for link in links %} {% if link.is_current %} {{link.label}} {% elif link.is_choose %} {% else %} {{link.label}} {% endif %} {% endfor %}