{% load static %} {{ card_header_html | safe }} {% if card_per_screen == 0 %}
{% endif %} {% for curItem in cards %} {% if card_per_screen > 0 and forloop.first%}
{% endif %} {{ curItem }} {% if card_per_screen > 0 and forloop.counter|divisibleby:card_per_screen %}
{% endif %} {% endfor %} {% if card_per_screen == 0 %}
{% endif %}