mirror of
https://github.com/cookiecutter/cookiecutter-django.git
synced 2025-01-24 08:14:13 +03:00
Fixed invalid HTML in django-allauth field element template
This commit is contained in:
parent
1174889779
commit
f86df89db9
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user