{% extends "base.html" %}

{% load account_tags %}

{% block title %}{% trans "Confirm Email" %} - {{ block.super }}{% endblock %}

{% block content %}
    {% if email_address %}
        <h1>{% trans "Email Confirmed" %}</h1>
        {% user_display email_address.user as user_display %}
        <p>{% blocktrans with email_address.email as email %}You have confirmed that {{ email }} is an email address for user '{{ user_display }}'.{% endblocktrans %}</p>
    {% else %}
        <p>{% trans "Invalid confirmation key." %}</p>
    {% endif %}
{% endblock %}