django-bs

Bootstrap integration for django using widget templates
git clone https://git.ce9e.org/django-bs.git

commit
23c91f0f8b545270baae84604a33d1ace4204a8b
parent
7df604d121823ebfbf0add6b9124f1a9e2384f6f
Author
Tobias Bengfort <tobias.bengfort@posteo.de>
Date
2021-01-25 18:29
reduce duplication in clearable_file_input

Diffstat

M django-bs4/templates/django/forms/widgets/clearable_file_input.html 2 +-

1 files changed, 1 insertions, 1 deletions


diff --git a/django-bs4/templates/django/forms/widgets/clearable_file_input.html b/django-bs4/templates/django/forms/widgets/clearable_file_input.html

@@ -8,4 +8,4 @@
    8     8     {% endif %}
    9     9     {{ widget.input_text }}:
   10    10 {% endif %}
   11    -1 <input type="{{ widget.type }}" name="{{ widget.name }}"{% include "django/forms/widgets/attrs.html" %}>
   -1    11 {% include "django/forms/widgets/file.html" %}