{% load forms %}
{% for field in form %}
    <!-- {{ field|xsd_field_type }} -->
    {% if field|xsd_field_type == "boolean" %}
        {% include 'forms/checkbox.html' with field=field %}
    {% else %}
        {% include 'forms/field.html' with field=field %}
    {% endif %}
{% endfor %}
