mirror of
https://github.com/eitchtee/WYGIWYH.git
synced 2026-04-27 02:58:40 +02:00
feat: automated replacement
This commit is contained in:
14
app/templates/crispy-daisyui/whole_uni_form.html
Normal file
14
app/templates/crispy-daisyui/whole_uni_form.html
Normal file
@@ -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 "crispy-daisyui/display_form.html" %}
|
||||
|
||||
{% include "crispy-daisyui/inputs.html" %}
|
||||
|
||||
{% if form_tag %}</form>{% endif %}
|
||||
{% endspecialspaceless %}
|
||||
Reference in New Issue
Block a user