templates: customize checkbox and radio buttons rendering (#56114)
This commit is contained in:
parent
4b3acfd876
commit
95ac0e40cb
|
@ -0,0 +1 @@
|
|||
<label>{% include "django/forms/widgets/input.html" %}<span></span></label>
|
|
@ -0,0 +1 @@
|
|||
{% if widget.wrap_label %}<label{% if widget.attrs.id %} for="{{ widget.attrs.id }}"{% endif %}>{% endif %}{% include "django/forms/widgets/input.html" %}{% if widget.wrap_label %} <span>{{ widget.label }}</span></label>{% endif %}
|
Loading…
Reference in New Issue