{% extends "dac/base.html" %}
{% load static i18n %}
{% block title %}
{% trans "Manage email" %}
{% endblock title %}
{% block page.breadcrumbs %}
{{ block.super }}
{% endblock page.breadcrumbs %}
{% block page.content %}
{% if emailaddresses %}
{% for radio in emailaddress_radios %}
{% with emailaddress=radio.emailaddress %}
{{ emailaddress }}
{% if emailaddress.primary %}
{% endif %}
{% if emailaddress.verified %}
{% else %}
{% endif %}
{# Show a description blurb only under the primary address row. #}
{% if emailaddress.primary %}
{% endif %}
{% endwith %}
{% endfor %}
{# Show the "add email" form only when the user hasn't reached the configured address limit (ACCOUNT_MAX_EMAIL_ADDRESSES). #}
{% else %}
{% include "account/snippets/warn_no_email.html" %}
{% endif %}
{% endblock page.content %}
{% block extra_js %}
{# djlint:off #}
{# djlint:on #}
{% endblock extra_js %}