{% if results %}
#} {# {% if header.sortable %}{% endif %} #} {# {{ header.text|capfirst }} #} {# {% if header.sortable %}{% endif %} | {% endfor %} #} {#|
---|---|
{% for item in result %}
{{ item }} {% endfor %} |
{% if forloop.last %}
{% for item in empty_spaces %}
{% endfor %} {% else %} {% if forloop.counter|divisibleby:"3" %} |