{% for column in columns %} {% endfor %} {% if editable %} {% endif %} {% if data %} {% for row in data %} {% for column in columns %} {% endfor %} {% if editable %} {% endif %} {% endfor %} {% else %} {% endif %}
{{ column.display or column.key }} Actions
{% if editable %} {% if column.input_type == 'date' %}
{% elif column.input_type == 'datetime' %}
{% elif column.input_type == 'number' %}
{% elif column.input_type == 'email' %}
{% elif column.input_type == 'url' %}
{% elif column.input_type == 'select' and column.choices %}
{% elif column.input_type == 'checkbox' %} {% elif column.input_type == 'textarea' %}
{% else %}
{% endif %} {% else %} {% if column.key in row %} {% if column.type == 'email' %} {{ row[column.key] }} {% elif column.type == 'url' %} {{ row[column.key] }} {% elif column.type == 'date' %} {{ row[column.key] }} {% elif column.type == 'boolean' %} {% if row[column.key] %} ✓ {% else %} ✗ {% endif %} {% else %} {{ row[column.key] }} {% endif %} {% else %} - {% endif %} {% endif %}
No data available
{% if editable %}
{% endif %} {% if data %}
{{ data|length }} records displayed
{% endif %}