{% extends "email_change/base.html" %}
{% load i18n %}

{% block title %}{% trans "Change email address" %}{% endblock %}

{% block breadcrumbs-box %}
    {{ block.super }} &rsaquo; {% trans 'Change email address' %}
{% endblock %}

{% block coltype %}login{% endblock %}

{% block content_title %}
    <h1>{% trans "Change email address" %}</h1>
{% endblock %}

{% block content %}
    <div id="content-main">
        <p>{% trans "Your current email address is:" %}</p>
        <blockquote>{{ user.email }}</blockquote>
        <p>{% trans "To associate a new email address with your account, please enter the new address in the box below." %}</p>
        <form method="post">{% csrf_token %}
            {{ form.as_p }}
            <p><label>&nbsp;</label><input type="submit" value="{% trans "Change email address" %}" /></p>
        </form>
        <p>&laquo; <a href="{% url profiles_profile_detail user.username %}">{% trans "Back to your profile" %}</a></p>
        <script type="text/javascript">
            document.getElementById('id_email').focus()
        </script>
    </div>
{% endblock %}

