Fixed invalid HTML in django-allauth field element template

This commit is contained in:
Reggie Riser 2024-02-27 14:53:12 -05:00
parent 1174889779
commit f86df89db9

View File

@ -33,7 +33,7 @@
{% if attrs.autocomplete %}autocomplete="{{ attrs.autocomplete }}"{% endif %}
value="{{ attrs.value|default_if_none:"" }}"
type="{{ attrs.type }}" />
<label class="form-check-label" for="gridRadios1">
<label class="form-check-label" for="{{ attrs.id }}">
{% slot label %}
{% endslot %}
</label>
@ -62,6 +62,5 @@
</div>
{% endif %}
{% if slots.help_text %}
<div class="form-text">{% slot help_text %}</div>
{% endslot %}
<div class="form-text">{% slot help_text %}{% endslot %}</div>
{% endif %}{% endraw %}