{% load dyn_struct %}
{% for row in rows %}
{% for field in row %}
{% if field.is_header %}

{{ field.header }}

{% else %} {% if template == 'bootstrap2' %} {% include 'dyn_struct/render_struct_field_bootstrap2.html' with item=field.bound_field %} {% elif template == 'bootstrap3' %} {% include 'dyn_struct/render_struct_field_bootstrap3.html' with item=field.bound_field %} {% endif %} {% endif %}
{% endfor %}
{% endfor %}