{% extends "account/base.html" %} {% load i18n %} {% load form_filters %} {% block head_title %}{% trans "E-mail Addresses" %}{% endblock %} {% block content %}

{% trans "E-mail Addresses" %}

{% if user.emailaddress_set.all %}

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

{% if can_add_email %}

{% trans "Add E-mail Address" %}

{% csrf_token %}
{{ form.email | add_class:"border sm:text-sm rounded-lg block w-full p-2.5 bg-gray-700 border-gray-600 :placeholder-gray-400 text-white focus:ring-blue-500 focus:border-blue-500" }}
{{ form.email.errors | safe }}
{% if form.non_field_errors %}
{{ form.non_field_errors | safe }}
{% endif %}
{% endif %} {% else %}

{% trans 'Warning:'%} {% trans "You currently do not have any e-mail address set up. You should really add an e-mail address so you can receive notifications, reset your password, etc." %}

{% endif %} {% endblock %} {% block extra_body %} {% endblock %}