{% load tethys_gizmos %} {% if column_names %} {% for column_name in column_names %} {% endfor %} {% endif %} {% for row in rows %} {% with row_idx=forloop.counter0 %} {% for column_value in row %} {% with col_idx=forloop.counter0 %} {% if editable_columns and editable_columns|return_item:col_idx %} {% if row_ids %} {% with col_id=editable_columns|return_item:col_idx row_id=row_ids|return_item:row_idx %} {% endwith %} {% else %} {% with col_id=editable_columns|return_item:col_idx %} {% endwith %} {% endif %} {% else %} {% endif %} {% endwith %} {% endfor %} {% endwith %} {% endfor %}
{{ column_name }}
{{ column_value }}