{% block before_table %}{% endblock before_table %} {% block table %} {% if exclude_styles %} {% else %}
{% endif %} {% block caption %} {% if caption and caption is string %} {% elif caption and caption is sequence %} {% endif %} {% endblock caption %} {% block thead %} {% block before_head_rows %}{% endblock %} {% for r in head %} {% block head_tr scoped %} {% if exclude_styles %} {% for c in r %} {% if c.is_visible != False %} <{{c.type}} {{c.attributes}}>{{c.display_value}} {% endif %} {% endfor %} {% else %} {% for c in r %} {% if c.is_visible != False %} <{{c.type}} {%- if c.id is defined %} id="T_{{uuid}}_{{c.id}}" {%- endif %} class="{{c.class}}" {{c.attributes}}>{{c.display_value}} {% endif %} {% endfor %} {% endif %} {% endblock head_tr %} {% endfor %} {% block after_head_rows %}{% endblock %} {% endblock thead %} {% block tbody %} {% block before_rows %}{% endblock before_rows %} {% for r in body %} {% block tr scoped %} {% if exclude_styles %} {% for c in r %}{% if c.is_visible != False %} <{{c.type}} {{c.attributes}}>{{c.display_value}} {% endif %}{% endfor %} {% else %} {% for c in r %}{% if c.is_visible != False %} <{{c.type}} {%- if c.id is defined %} id="T_{{uuid}}_{{c.id}}" {%- endif %} class="{{c.class}}" {{c.attributes}}>{{c.display_value}} {% endif %}{% endfor %} {% endif %} {% endblock tr %} {% endfor %} {% block after_rows %}{% endblock after_rows %} {% endblock tbody %}
{{caption}}{{caption[0]}}
{% endblock table %} {% block after_table %}{% endblock after_table %}