password_reset_confirm.html 876 Bytes
Newer Older
1 2 3 4 5
{% extends "registration/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
{% get_current_language as LANGUAGE_CODE %}

6
{% block title-page %}{% trans "Password reset confirm" %}{% endblock %}
7

8 9 10 11 12 13 14 15 16 17
{% block content_box %}
<div class="row">
  <div class="login-form-errors">
    {% include "display-form-errors.html" %}
  </div>
  <div class="col-sm-12">
    <div>
      {% blocktrans %}
      Please enter your new password twice so we can verify you typed it in correctly.
      {% endblocktrans %}
18
    </div>
19

20 21 22 23 24 25 26 27
    {% if form %}
      {% crispy form %}
    {% else %}
      <div class="alert alert-warning">
        {% url "accounts.password-reset" as url %}
        {% blocktrans with url=url %}This token is expired, please <a href="{{ url }}">request</a> a new password reset link again.{% endblocktrans %}
      </div>
    {% endif %}
28 29 30
  </div>
</div>
{% endblock %}