{% for header in headers %} {% if header.sortable %}{% endif %} {{ header.text }} {% if header.sortable %}{% endif %} {% endfor %}