mirror of
https://git.linux-kernel.at/oliver/ivatar.git
synced 2025-11-17 13:38:03 +00:00
Add email html template
This commit is contained in:
22
ivatar/ivataraccount/templates/add_email.html
Normal file
22
ivatar/ivataraccount/templates/add_email.html
Normal file
@@ -0,0 +1,22 @@
|
|||||||
|
{% extends 'base.html' %}
|
||||||
|
{% load i18n %}
|
||||||
|
|
||||||
|
{% block title %}{% trans 'Add a new email address' %} - ivatar{% endblock title %}
|
||||||
|
|
||||||
|
{% block content %}
|
||||||
|
|
||||||
|
<h1>{% trans 'Add a new email address' %}</h1>
|
||||||
|
|
||||||
|
<p>{% blocktrans %}Otherwise, type your email address in the box below and we will send you an email with a link to click on in order to verify that you own that email address.{% endblocktrans %}</p>
|
||||||
|
|
||||||
|
<form action="{% url 'add_email' %}" name="addemail" method="post" id="form-addemail">{% csrf_token %}
|
||||||
|
|
||||||
|
{{ form.email.errors }}
|
||||||
|
<p class="aligned wide">{{ form.email.label_tag }} {{ form.email }}</p>
|
||||||
|
|
||||||
|
<p><input type="submit" value="{% trans 'Add' %}" />
|
||||||
|
<a href="{% url 'profile' %}">{% trans 'Cancel' %}</a></p>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
{% endblock content %}
|
||||||
Reference in New Issue
Block a user