From 9d76a3c52b8310726ec09e0262813f0438c21df6 Mon Sep 17 00:00:00 2001 From: Matthew Lemon Date: Sun, 19 Jan 2020 15:57:06 +0000 Subject: init commit - from cookiecutter --- ctrack/templates/account/email_confirm.html | 32 +++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 ctrack/templates/account/email_confirm.html (limited to 'ctrack/templates/account/email_confirm.html') diff --git a/ctrack/templates/account/email_confirm.html b/ctrack/templates/account/email_confirm.html new file mode 100644 index 0000000..46c7812 --- /dev/null +++ b/ctrack/templates/account/email_confirm.html @@ -0,0 +1,32 @@ +{% extends "account/base.html" %} + +{% load i18n %} +{% load account %} + +{% block head_title %}{% trans "Confirm E-mail Address" %}{% endblock %} + + +{% block inner %} +

{% trans "Confirm E-mail Address" %}

+ +{% if confirmation %} + +{% user_display confirmation.email_address.user as user_display %} + +

{% blocktrans with confirmation.email_address.email as email %}Please confirm that {{ email }} is an e-mail address for user {{ user_display }}.{% endblocktrans %}

+ +
+{% csrf_token %} + +
+ +{% else %} + +{% url 'account_email' as email_url %} + +

{% blocktrans %}This e-mail confirmation link expired or is invalid. Please issue a new e-mail confirmation request.{% endblocktrans %}

+ +{% endif %} + +{% endblock %} + -- cgit v1.2.3