36 lines
1.2 KiB
HTML
36 lines
1.2 KiB
HTML
{% 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 %}
|