{% load i18n %} {% load django_tables2 %} {% block table.pagination.top %} {% if table.page %} {% include 'cruditor/includes/pagination.html' %} {% endif %} {% endblock table.pagination.top %} {% block table %}
{% block table.thead %} {% for column in table.columns %} {% if column.orderable %} {% else %} {% endif %} {% endfor %} {% endblock table.thead %} {% block table.tbody %} {% for row in table.page.object_list|default:table.rows %} {% block table.tbody.row %} {% for column, cell in row.items %} {% endfor %} {% endblock table.tbody.row %} {% empty %} {% if table.empty_text %} {% block table.tbody.empty_text %} {% endblock table.tbody.empty_text %} {% endif %} {% endfor %} {% endblock table.tbody %} {% block table.tfoot %} {% endblock table.tfoot %}
{{ column.header }}{{ column.header }}
{{ cell }}
{{ table.empty_text }}
{% endblock table %} {% block table.pagination.bottom %} {% if table.page %} {% include 'cruditor/includes/pagination.html' %} {% endif %} {% endblock table.pagination.bottom %}