Files
GNX-mailEnterprise/venv/lib/python3.12/site-packages/allauth/templates/account/email_change.html
Iliyan Angelov c67067a2a4 Mail
2025-09-14 23:24:25 +03:00

34 lines
1.4 KiB
HTML

{% extends "account/base.html" %}
{% load i18n %}
{% block head_title %}
{% trans "Email Address" %}
{% endblock head_title %}
{% block content %}
<h1>{% trans "Email Address" %}</h1>
{% if emailaddresses %}
{% if current_emailaddress %}
<p>
{% trans 'The following email address is associated with your account:' %} <a href="mailto:{{ current_emailaddress.email }}">{{ current_emailaddress.email }}</a>
</p>
{% endif %}
{% if new_emailaddress %}
<p>
{% trans 'Your email address is still pending verification:' %} <a href="mailto:{{ new_emailaddress.email }}">{{ new_emailaddress.email }}</a>
</p>
<form method="post" action="{% url 'account_email' %}">
{% csrf_token %}
<input type="hidden" name="email" value="{{ new_emailaddress.email }}">
<button type="submit" name="action_send">{% trans 'Re-send Verification' %}</button>
</form>
{% endif %}
{% else %}
{% include "account/snippets/warn_no_email.html" %}
{% endif %}
<h2>{% trans "Change Email Address" %}</h2>
<form method="post" action="{% url 'account_email' %}">
{% csrf_token %}
{{ form.as_p }}
<button name="action_add" type="submit">{% trans "Change Email" %}</button>
</form>
{% endblock content %}