- commit
- 7df604d121823ebfbf0add6b9124f1a9e2384f6f
- parent
- 1f88b22120d6d335fb7dd163becaf63eace17a39
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2021-01-25 18:21
fix linebreak for 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
@@ -1,5 +1,5 @@ 1 1 {% if widget.is_initial %}2 -1 {{ widget.initial_text }}: <a href="{{ widget.value.url }}">{{ widget.value }}</a>-1 2 <div>{{ widget.initial_text }}: <a href="{{ widget.value.url }}">{{ widget.value }}</a></div> 3 3 {% if not widget.required %} 4 4 <div class="form-check"> 5 5 <input type="checkbox" name="{{ widget.checkbox_name }}" id="{{ widget.checkbox_id }}" class="form-check-input"{% if widget.attrs.disabled %} disabled{% endif %}>