- commit
- 2ce71d10a2b6fbe8372c86e5aa6870a8635cdc45
- parent
- e606543d6ae13c795c76f0d233f40f8c6d758b2c
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2024-01-28 18:44
hook into default form rendering in django 5+
Diffstat
3 files changed, 5 insertions, 0 deletions
diff --git a/django_bs/templates/django/forms/default.html b/django_bs/templates/django/forms/default.html
@@ -1 +1,2 @@
-1 1 {# hook into default form rendering in django 4.x #}
1 2 {% include "bs/form.html" %}
diff --git a/django_bs/templates/django/forms/default.html b/django_bs/templates/django/forms/div.html
@@ -1 +1,2 @@
-1 1 {# hook into default form rendering in django 5.0+ #}
1 2 {% include "bs/form.html" %}
diff --git a/django_bs/templates/django/forms/field.html b/django_bs/templates/django/forms/field.html
@@ -0,0 +1,3 @@
-1 1 {# hook into default form rendering in django 5.0+ #}
-1 2 {% load bootstrap %}
-1 3 {% bootstrap_field field %}