{% load themis_tags %} {% comment %} Themis override of allauth's fields element. Stock allauth renders {{ form.as_p }} here, which produces unstyled inputs; this renders each visible field with DaisyUI form-control markup instead, matching account/login.html. The widget CSS class is chosen by widget type and applied via the add_class filter (allauth's generic forms carry no widget classes of their own). Labels are suppressed when the caller passes unlabeled=True (signup, login-code, etc.). {% endcomment %} {% with form=attrs.form %} {% if form.non_field_errors %}