puchar/crispy_forms/templates/bootstrap4/whole_uni_form.html

15 lines
461 B
HTML
Raw Normal View History

2022-12-05 04:12:09 +01:00
{% 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 "bootstrap4/display_form.html" %}
{% include "bootstrap4/inputs.html" %}
{% if form_tag %}</form>{% endif %}
{% endspecialspaceless %}