14 lines
466 B
HTML
Executable file
14 lines
466 B
HTML
Executable file
{% load crispy_forms_utils %}
|
|
|
|
{% specialspaceless %}
|
|
{% if form_tag %}<form {{ flat_attrs|safe }} 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 "bootstrap3/display_form.html" %}
|
|
|
|
{% include "bootstrap3/inputs.html" %}
|
|
|
|
{% if form_tag %}</form>{% endif %}
|
|
{% endspecialspaceless %}
|