Changeset View
Changeset View
Standalone View
Standalone View
templates/registration/password_reset_confirm.html
- This file was added.
| {% extends 'layout.html' %} | |||||
| {% load i18n %} | |||||
| {% block page_title %}{{ title }}{% endblock %} | |||||
| {% block body %} | |||||
| <div class="bid box"> | |||||
| <div class="row"> | |||||
| <div class="col-md-8 mx-auto"> | |||||
| {% if validlink %} | |||||
| <h1>Enter new password</h1> | |||||
| <p>{% trans "Please enter your new password twice so we can verify you typed it in correctly." %}</p> | |||||
| <form method="post" autocomplete="off">{% csrf_token %} | |||||
| <fieldset> | |||||
| <div class="form-group field-password1"> | |||||
| {{ form.new_password1.errors }} | |||||
| <label for="id_new_password1">{% trans 'New password:' %}</label> | |||||
| {% with field=form.new_password1 %} | |||||
| {% include 'components/input_form_control.html' %} | |||||
| {% endwith %} | |||||
| </div> | |||||
| <div class="form-group field-password2"> | |||||
| {{ form.new_password2.errors }} | |||||
| <label for="id_new_password2">{% trans 'Confirm password:' %}</label> | |||||
| {% with field=form.new_password2 %} | |||||
| {% include 'components/input_form_control.html' %} | |||||
| {% endwith %} | |||||
| </div> | |||||
| <input class="btn btn-success" type="submit" value="{% trans 'Change my password' %}"> | |||||
| </fieldset> | |||||
| </form> | |||||
| {% else %} | |||||
| <p>{% trans "The password reset link was invalid, possibly because it has already been used. Please request a new password reset." %}</p> | |||||
| {% endif %} | |||||
| </div> | |||||
| </div> | |||||
| </div> | |||||
| {% endblock body %} | |||||