{% extends "socialaccount/connections.html" %} {% load allauth %} {% comment %} allauth draws the radio choices by hand, so the `account` field's errors and the non-field errors reach no `field` element and are shown here. Django skips this file when resolving the extends and finds allauth's. See FS-002. {% endcomment %} {% block content %} {% if form.errors %} {% element alert tags="danger" %} {% slot message %} {% for field_errors in form.errors.values %} {% for error in field_errors %}{{ error }}{% if not forloop.last %} {% endif %}{% endfor %} {% endfor %} {% endslot %} {% endelement %} {% endif %} {{ block.super }} {% endblock content %}