{% load allauth %} {% comment %} Themis override of allauth's single-field element, invoked directly by the email-management radio list, the connections list, email/phone change, and the recovery-codes textarea. DaisyUI classes are applied per input type; every attr and slot from the stock element is preserved so no caller loses behaviour. {% endcomment %} {% if attrs.errors %}
{{ attrs.errors|striptags }}
{% endif %} {% if attrs.type == "textarea" %}
{% if slots.help_text %}{% slot help_text %}{% endslot %}{% endif %}
{% elif attrs.type == "checkbox" or attrs.type == "radio" %} {% if slots.help_text %}{% slot help_text %}{% endslot %}{% endif %} {% else %}
{% if slots.help_text %}{% slot help_text %}{% endslot %}{% endif %}
{% endif %}