github.com/blystad/deis@v0.11.0/controller/web/templates/account/email_confirm.html (about) 1 {% extends "account/base.html" %} 2 3 {% load url from future %} 4 {% load i18n %} 5 {% load account %} 6 7 {% block head_title %}{% trans "Confirm E-mail Address" %}{% endblock %} 8 9 10 {% block content %} 11 <h1>{% trans "Confirm E-mail Address" %}</h1> 12 13 {% if confirmation %} 14 15 {% user_display confirmation.email_address.user as user_display %} 16 17 <p>{% blocktrans with confirmation.email_address.email as email %}Please confirm that <a href="mailto:{{email}}">{{ email }}</a> is an e-mail address for user {{ user_display }}.{% endblocktrans %}</p> 18 19 <form method="post" action="{% url 'account_confirm_email' confirmation.key %}"> 20 {% csrf_token %} 21 <button type="submit">{% trans 'Confirm' %}</button> 22 </form> 23 24 {% else %} 25 26 {% url 'account_email' as email_url %} 27 28 <p>{% blocktrans %}This e-mail confirmation link expired or is invalid. Please <a href="{{ email_url}}">issue a new e-mail confirmation request</a>.{% endblocktrans %}</p> 29 30 {% endif %} 31 32 {% endblock %}