{% for widget in widget.subwidgets %} {% if two_column and forloop.counter|divisibleby:2 %} {% endif %} {% if not two_column or not forloop.counter|divisibleby:2 %} {{ widget.short_name }}: {% endif %} {% if two_column and not forloop.counter|divisibleby:2 %}{% endif %} {% include widget.template_name %} {% if two_column %} {% if forloop.counter|divisibleby:2 %}{% endif %} {% if forloop.counter|divisibleby:2 and not forloop.last %}
{% endif %} {% else %} {% if not forloop.last %}
{% endif %} {% endif %} {% endfor %}