Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Bower components Debian packages RPM packages NuGet packages

hemamaps / django-crispy-forms   python

Repository URL to install this package:

Version: 1.6.0 

/ templates / uni_form / whole_uni_formset.html

{% load crispy_forms_tags %}

{% if formset_tag %}
<form {{ flat_attrs|safe }} method="{{ formset_method }}" {% if formset.is_multipart %} enctype="multipart/form-data"{% endif %}>
{% endif %}
    {% if formset_method|lower == 'post' and not disable_csrf %}
        {% csrf_token %}
    {% endif %}

    <div>
        {{ formset.management_form|crispy }}
    </div>

    {% include "uni_form/errors_formset.html" %}

    {% for form in formset %}
        {% include "uni_form/display_form.html" %}
    {% endfor %}

    {% if inputs %}
        <div class="buttonHolder">
            {% for input in inputs %}
                {% include "uni_form/layout/baseinput.html" %}
            {% endfor %}
        </div>
    {% endif %}
{% if formset_tag %}</form>{% endif %}