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