(reusing code previously written for the community lists) instead of the a custom MD5 scheme, add tests of all views, rewrite custom form handling code to use plain forms and ensure that the data is properly validated and errors visible in the UI. Move help texts on the Person form up to the model. - Legacy-Id: 11136
32 lines
827 B
HTML
32 lines
827 B
HTML
{% extends "base.html" %}
|
|
{# Copyright The IETF Trust 2015, All Rights Reserved #}
|
|
{% load origin %}
|
|
|
|
{% load bootstrap3 %}
|
|
|
|
{% block title %}Password reset{% endblock %}
|
|
|
|
{% block content %}
|
|
{% origin %}
|
|
|
|
{% if success %}
|
|
<h1>Password reset successful</h1>
|
|
<p>Your password reset request has been successfully received .</p>
|
|
<p>We have sent you an email with instructions on how to set a new password.</p>
|
|
|
|
{% else %}
|
|
<h1>Password reset</h1>
|
|
|
|
<p>Please enter an email address associated with the account for which you would like to reset the password.</p>
|
|
|
|
<form method="post">
|
|
{% csrf_token %}
|
|
{% bootstrap_form form %}
|
|
|
|
{% buttons %}
|
|
<button type="submit" class="btn btn-warning">Reset password</button>
|
|
{% endbuttons %}
|
|
</form>
|
|
{% endif %}
|
|
{% endblock %}
|