forked from adamlaska/datatracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfirm_new_email.html
More file actions
35 lines (28 loc) · 1.16 KB
/
confirm_new_email.html
File metadata and controls
35 lines (28 loc) · 1.16 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{% extends "base.html" %}
{# Copyright The IETF Trust 2015, All Rights Reserved #}
{% load origin bootstrap3 %}
{% 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">An error has occured when attempting to add the email address {{ email }} to your account {{ username }}.</p>
{% bootstrap_form_errors form %}
<p>
<a class="btn btn-default" href="{% url "ietf.ietfauth.views.profile" %}">Edit profile</a>
</p>
{% elif new_email_obj %}
<p>Your account {{ username }} has been updated to include the email address {{ email }}.</p>
<p>
<a class="btn btn-default" href="{% url "ietf.ietfauth.views.profile" %}">Edit profile</a>
</p>
{% else %}
<p>Confirm that you want to add the email address {{ email }} to your account {{ username }}.</p>
<form method="post">
{% csrf_token %}
{% buttons %}
<button type="submit" class="btn btn-warning" name="action" value="confirm">Confirm email address</button>
{% endbuttons %}
</form>
{% endif %}
{% endblock %}