password_reset_confirm.html 935 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

{% block content %}
9 10 11 12
<div>
  <div class="row">
    <div class="login-form-errors">
      {% include "display-form-errors.html" %}
13
    </div>
14 15 16
    <div class="col-sm-12">
      <div style="margin: 0 0 25px 0;">
        {% blocktrans %}Please enter your new password twice so we can verify you typed it in correctly!{% endblocktrans %}
17
      </div>
18 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 %}
    </div>
28 29 30
  </div>
</div>
{% endblock %}