- commit
- b6193b7e976519bed03b0b871b9a348a16652525
- parent
- aab5b03453a9c902c4d98444ad6a999f819d05f0
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-01-28 06:23
avoid template tags around single html tags
Diffstat
| M | django-bs4/templates/django/forms/widgets/checkbox_option.html | 6 | +++--- |
1 files changed, 3 insertions, 3 deletions
diff --git a/django-bs4/templates/django/forms/widgets/checkbox_option.html b/django-bs4/templates/django/forms/widgets/checkbox_option.html
@@ -1,8 +1,8 @@ 1 1 {% if widget.wrap_label %} 2 2 <div class="form-check">3 -1 {% endif %}4 -1 {% include "django/forms/widgets/checkbox.html" %}5 -1 {% if widget.wrap_label %}-1 3 {% include "django/forms/widgets/checkbox.html" %} 6 4 <label class="form-check-label" for="{{ widget.attrs.id }}">{{ widget.label }}</label> 7 5 </div> -1 6 {% else %} -1 7 {% include "django/forms/widgets/checkbox.html" %} 8 8 {% endif %}