pytask/templates/registration/password_reset_form.html
changeset 532 1f08247a935c
parent 308 dca28aad6760
equal deleted inserted replaced
531:13eba81f3aa1 532:1f08247a935c
     1 {% extends "base.html" %}
     1 {% extends "base.html" %}
       
     2 
       
     3 
     2 {% load i18n %}
     4 {% load i18n %}
       
     5 {% load form_helpers %}
     3 
     6 
     4 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset' %}</div>{% endblock %}
     7 {% block breadcrumbs %}<div class="breadcrumbs"><a href="../">{% trans 'Home' %}</a> &rsaquo; {% trans 'Password reset' %}</div>{% endblock %}
     5 
     8 
     6 {% block title %}{% trans "Password reset" %}{% endblock %}
     9 {% block title %}{% trans "Password reset" %}{% endblock %}
     7 
    10 
     9 
    12 
    10 <h1>{% trans "Password reset" %}</h1>
    13 <h1>{% trans "Password reset" %}</h1>
    11 
    14 
    12 <p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}</p>
    15 <p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll e-mail instructions for setting a new one." %}</p>
    13 
    16 
    14 <form action="" method="post">
    17 {% as_div_form form "Password Reset Email" csrf_token "Email instructions" %}
    15 {% csrf_token %}
       
    16 {{ form.email.errors }}
       
    17 <p><label for="id_email">{% trans 'E-mail address:' %}</label> {{ form.email }} <input type="submit" value="{% trans 'Reset my password' %}" /></p>
       
    18 </form>
       
    19 
    18 
    20 {% endblock %}
    19 {% endblock %}