{% for header in headers %} {{ header }} {% endfor %} {% for row in rows %} {{ row.position }} {% with forloop_first=forloop.first %} {% for cell in row.cells %}
{{ cell.btn_label }}
{% endfor %} {% endwith %} {% endfor %}