remove now unused {% load url from future %}
[mygpo.git] / mygpo / web / templates / restore_password.html
blob1b69cc6fa3391839ca268fe36689ff99d4ee5ac7
1 {% extends "base.html" %}
2 {% load i18n %}
4 {% load menu %}
5 {% block mainmenu %}{{ "/login/"|main_menu }}{% endblock %}
6 {% block sectionmenu %}{{ "/login/"|section_menu }}{% endblock %}
8 {% block title %}{% trans "Login" %}{% endblock %}
10 {% block header %}
11 <h1>Restore Password</h1>
12 {% endblock %}
15 {% block content %}
17 <div class="form">
19 <form action="{% url "restore-password" %}" method="POST">
20 {% csrf_token %}
21 <p>{% blocktrans %}Please enter either your username or (if you don't know that either) the e-mail address which you used to register your account. An e-mail will be sent to you.{% endblocktrans %}</p>
23 <label>{{ form.username.label_tag }}</label>
24 {{ form.username }}
26 <label>{{ form.email.label_tag }}</label>
27 {{ form.email }}
29 <button type="submit">{% trans "Reset Password" %}</button>
30 </form>
31 </div>
33 {% endblock %}