{% load i18n crispy_forms_tags authentication %} {% if user.emailaddress_set.all %}

{% trans 'The following e-mail addresses are associated with your account:' %}

{% csrf_token %} {% for email in user.emailaddress_set.all %} {% endfor %}
{% trans 'Preferred' %} {% trans 'Email' %} {% trans 'Verified' %}
{{ email.email }} {% if email.verified %} {% else %} {% endif %}
{% endif %} {% can_add_email as adding_allowed %} {% if adding_allowed %}
{% trans 'Add New'%}
{% authentication_form 'add_email' %} {% endif %}