1
{% extends "base.html" %}
1
{% extends "vanilla/base.html" %}
5
Copyright 2010 Canonical Ltd. This software is licensed under the
5
Copyright 2010-2019 Canonical Ltd. This software is licensed under the
6
6
GNU Affero General Public License version 3 (see the file LICENSE).
9
9
{% block title %}{% trans "Add an email" %}{% endblock %}
11
{% block text_title %}<h1 class="u1-h-main">{% trans "Add an email address to your account" %}</h1>{% endblock %}
11
{% block text_title %}<h1>{% trans "Add an email address to your account" %}</h1>{% endblock %}
13
13
{% block content_id %}auth{% endblock %}
15
15
{% block content %}
16
18
<p>{% blocktrans %}Enter your email address, and we will send you instructions on how to confirm your account.{% endblocktrans %}</p>
18
19
<form action="{% url 'new_email' %}" method="post" name="newemailform">
20
<p class="input-row{% if form.newemail.errors %} haserrors{% endif %}">
21
<label for="id_newemail">{% trans "Email address" %}</label>
23
{% if form.newemail.errors %}
24
<span class="error">{{ form.newemail.errors|first }}</span>
28
<button type="submit" class="btn cta" name="continue" data-qa-id="send_instructions_confirm_email">
29
<span>{% trans "Send instructions" %}</span>
31
<a class="cta secondary" href=".">{% trans "Cancel" %}</a>
21
<p class="input-row{% if form.newemail.errors %} haserrors{% endif %}">
22
<label for="id_newemail">{% trans "Email address" %}</label>
24
{% if form.newemail.errors %}
25
<span class="error">{{ form.newemail.errors|first }}</span>
28
<a class="p-button--base" href="/">{% trans "Cancel" %}</a>
29
<button type="submit" class="p-button--primary" name="continue" data-qa-id="send_instructions_confirm_email">{% trans "Send instructions" %}</button>
34
<script type="text/javascript">
35
document.newemailform.newemail.focus();
34
<script type="text/javascript">
35
document.newemailform.newemail.focus();