diff options
Diffstat (limited to 'templates/w3/whole_uni_form.html')
-rw-r--r-- | templates/w3/whole_uni_form.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/w3/whole_uni_form.html b/templates/w3/whole_uni_form.html new file mode 100644 index 0000000..df71b0b --- /dev/null +++ b/templates/w3/whole_uni_form.html @@ -0,0 +1,14 @@ +{% load crispy_forms_utils %} + +{% specialspaceless %} +{% if form_tag %}<form {{ flat_attrs }} method="{{ form_method }}" {% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>{% endif %} + {% if form_method|lower == 'post' and not disable_csrf %} + {% csrf_token %} + {% endif %} + + {% include "w3/display_form.html" %} + + {% include "w3/inputs.html" %} + +{% if form_tag %}</form>{% endif %} +{% endspecialspaceless %} |