mirror of
https://github.com/mediacms-io/mediacms.git
synced 2024-12-04 22:20:49 +01:00
34 lines
1003 B
HTML
34 lines
1003 B
HTML
{% extends "base.html" %}
|
|
{% load account %}
|
|
{% load i18n %}
|
|
|
|
{% block headtitle %} | Confirm E-mail Address{% endblock headtitle %}
|
|
|
|
{% block innercontent %}
|
|
<div class="user-action-form-wrap">
|
|
<div class="user-action-form-inner">
|
|
|
|
{% if confirmation %}
|
|
|
|
{% user_display confirmation.email_address.user as user_display %}
|
|
|
|
<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>
|
|
|
|
<form method="post" action="{% url 'account_confirm_email' confirmation.key %}">
|
|
{% csrf_token %}
|
|
<button type="submit">{% trans 'Confirm' %}</button>
|
|
</form>
|
|
|
|
{% else %}
|
|
|
|
{% url 'account_email' as email_url %}
|
|
|
|
<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>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
</div>
|
|
{% endblock innercontent %}
|
|
|