summaryrefslogtreecommitdiffstats
path: root/templates/authopenid/changeemail.html
blob: 99984b3f6309060fbd85d3452f01a166d342bc5c (plain)
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_content.html" %}
{% load i18n %}
{% block content %}
<div id="main-bar" class="">
    <h3>
        {% trans "Account: change email" %}
    </h3>
</div>
<p class="settings-descr">{% blocktrans %}This is where you can change the email address associated with your account. Please keep this email address up to date so we can send you a password-reset email if you request one.{% endblocktrans %}</p>
{% if form.errors %}
<p class="errors">{% trans "Please correct errors below:" %}<br />
	{% if form.email.errors %} 
		<span class="error">{{ form.email.errors|join:", " }}</span>
	{% endif %}
	{% if form.password.errors %} 
		<span class="error">{{ form.password.errors|join:", " }}</span>
	{% endif %}
</p>
{% endif %}

{% if msg %}
<p class="errors">{{ msg }}</p>
{% endif %}

<div class="aligned">
	<form action="." method="post" accept-charset="utf-8">

		<div id="form-row"><label for="id_email">{% trans "Email" %}</label>{{ form.email }}</div>
		<div id="form-row"><label for="id_password">{% trans "Password" %}</label>{{ form.password }}</div>

        <p><input type="submit" value="{% trans "Change email" %}"></p>

	</form>
	</div>
{% endblock %}