{% for column in columns %}
{{ column.title }}
{% if not column.single %}
{% else %}
{% endif %}
{% if column.batch_template %}
{% with cix=forloop.counter0 %}{% with column_name=column.name %}
{% include column.detail_template_path %}
{% endwith %}{% endwith %}
{% else %}
-
{% if not column.single %}
{% endif %}
{% include column.detail_template_path %}
{% endif %}
{% if not column.single %}
{% endif %}
{% cycle '' '
' %}
{% endfor %}