{% extends base_template %} {% load i18n staticfiles bootstrap3 crud_tags %} {% block extrastyle %} {{ media }} {% if formset %} {% endif %} {% endblock %} {% block content %}
{% csrf_token %} {% if popup %} {% endif %} {% if form_haserrors %} {% endif %} {% bootstrap_form form %} {% if formset %}

{{ formset.model|verbose_name_plural }}

{{ formset.management_form.as_p }} {% for field in formset.forms.0 %} {% if not field.is_hidden %} {% endif %} {% endfor %} {% for f in formset.forms %} {% for field in f %} {% if not field.is_hidden and not field.name = 'DELETE' %} {% endif %} {% if field.name == 'DELETE' %} {% endif %} {% endfor %} {% if not forloop.last %} {{ f.id }} {% endif %} {% endfor %}
{{ field.label }}
{% bootstrap_field field show_label=False %}
{{ f.DELETE }}
{% endif %}
{% endblock content %}