github.com/blystad/deis@v0.11.0/controller/web/templates/account/password_reset.html (about)

     1  {% extends "account/base.html" %}
     2  
     3  {% load i18n %}
     4  {% load account %}
     5  
     6  {% block head_title %}{% trans "Password Reset" %}{% endblock %}
     7  
     8  {% block content %}
     9  
    10      <h1>{% trans "Password Reset" %}</h1>
    11      {% if user.is_authenticated %}
    12      {% include "account/snippets/already_logged_in.html" %}
    13      {% endif %}
    14  
    15      <p>{% trans "Can't remember your password?<br>Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}</p>
    16  
    17      <form method="POST" action="" class="password_reset">
    18          {% csrf_token %}
    19          {{ form.as_p }}
    20          <input type="submit" value="{% trans "Reset My Password" %}" />
    21      </form>
    22  
    23      <p>{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p>
    24  {% endblock %}
    25  
    26  {% block extra_body %}
    27      <script>
    28          $("#id_email").focus();
    29      </script>
    30  {% endblock %}