{% load tri_tables %}
{% load cycle from future %}

<div class="table-container">

<table{{ table|table_attrs }}>

    {% include "tri_tables/table_header_rows.html" %}

    {% for row in table.data %}
        {% cycle 'row1' 'row2' as row_color silent %}
        {% include table|row_template:row %}
    {% endfor %}
</table>
</div>

{% if is_paginated %}
  <div class="paginator">{% paginator %}</div>
{% endif %}
