datatracker/ietf/templates/registration/confirm_new_email.html
Lars Eggert cc723ce449 More fixes.
- Legacy-Id: 19899
2022-01-31 19:17:50 +00:00

31 lines
1.3 KiB
HTML

{# bs5ok #}
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin django_bootstrap5 textfilters %}
{% block title %}Confirm new email address{% endblock %}
{% block content %}
{% origin %}
<h1>Confirm new email address</h1>
{% if not can_confirm %}
<p class="alert alert-danger my-3">
An error has occurred when attempting to add the email address {{ email|linkify }} to your account {{ username }}.
</p>
{% bootstrap_form_errors form %}
<a class="btn btn-primary my-3"
href="{% url "ietf.ietfauth.views.profile" %}">Edit profile</a>
{% elif new_email_obj %}
<p class="alert alert-success my-3">
Your account {{ username }} has been updated to include the email address {{ email|linkify }}.
</p>
<a class="btn btn-primary my-3"
href="{% url "ietf.ietfauth.views.profile" %}">Edit profile</a>
{% else %}
<p class="alert alert-info my-3">
Confirm that you want to add the email address {{ email|linkify }} to your account {{ username }}.
</p>
<form method="post" class="my-3">
{% csrf_token %}
<button type="submit" class="btn btn-warning" name="action" value="confirm">Confirm email address</button>
</form>
{% endif %}
{% endblock %}