{% if form_show_errors and not form.is_extra %}
{% include "bootstrap/errors.html" %}
{% endif %}
{% for field in form %}
{% if formset.readonly %}
{% include "fancy_formsets_bootstrap/field_readonly.html" %}
{% else %}
{% include "fancy_formsets_bootstrap/field.html" %}
{% endif %}
{% endfor %}