datatracker/ietf/templates/registration/confirm_new_email.html
Ole Laursen b83e0d2c78 Unify the URL name handling in ietfauth, i.e. just refer directly to
the view behind the URL instead of naming it.
 - Legacy-Id: 11172
2016-05-06 12:58:10 +00:00

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 %}