password_reset_confirm.html 881 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
{% extends "registration/base.html" %}
{% load i18n %}
{% load crispy_forms_tags %}
{% get_current_language as LANGUAGE_CODE %}

{% block title %}{% trans "Password reset confirm" %}{% endblock %}

{% block content %}
<div class="row">
  <div class="login-form-errors">
    {% include "display-form-errors.html" %}
  </div>
  <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 %}
    </div>

    {% if form %}
      {% crispy form %}
    {% else %}
      <div class="alert alert-warning">
22 23
        {% 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 %}
24 25 26 27 28
      </div>
    {% endif %}
  </div>
</div>
{% endblock %}