summaryrefslogtreecommitdiffstats
path: root/templates/w3/whole_uni_formset.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/w3/whole_uni_formset.html')
-rw-r--r--templates/w3/whole_uni_formset.html30
1 files changed, 30 insertions, 0 deletions
diff --git a/templates/w3/whole_uni_formset.html b/templates/w3/whole_uni_formset.html
new file mode 100644
index 0000000..ba40759
--- /dev/null
+++ b/templates/w3/whole_uni_formset.html
@@ -0,0 +1,30 @@
+{% load crispy_forms_tags %}
+{% load crispy_forms_utils %}
+
+{% specialspaceless %}
+{% if formset_tag %}
+<form {{ flat_attrs }} method="{{ form_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 "w3/errors_formset.html" %}
+
+ {% for form in formset %}
+ {% include "w3/display_form.html" %}
+ {% endfor %}
+
+ {% if inputs %}
+ <div class="form-actions">
+ {% for input in inputs %}
+ {% include "w3/layout/baseinput.html" %}
+ {% endfor %}
+ </div>
+ {% endif %}
+{% if formset_tag %}</form>{% endif %}
+{% endspecialspaceless %}