password_reset.html 805 B

123456789101112131415161718192021222324
  1. {% extends "account/base.html" %}
  2. {% load i18n %}
  3. {% load account %}
  4. {% block head_title %}{% trans "Password Reset" %}{% endblock %}
  5. {% block content %}
  6. <h1>{% trans "Password Reset" %}</h1>
  7. {% if user.is_authenticated %}
  8. {% include "account/snippets/already_logged_in.html" %}
  9. {% endif %}
  10. <p>{% trans "Forgotten your password? Enter your e-mail address below, and we'll send you an e-mail allowing you to reset it." %}</p>
  11. <form method="POST" action="{% url 'account_reset_password' %}" class="password_reset">
  12. {% csrf_token %}
  13. {{ form.as_p }}
  14. <input type="submit" value="{% trans 'Reset My Password' %}" />
  15. </form>
  16. <p>{% blocktrans %}Please contact us if you have any trouble resetting your password.{% endblocktrans %}</p>
  17. {% endblock %}