blob: 09fc9c13bc9ac0ca4c3d70755693a8293aa8f78e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
{% extends "base.html" %}
{% load i18n %}
{% block content %}
{% if validlink %}
<form id="password_form" method="post" action=".">
{{ form.as_p }}
<input type="submit" class="btn" value="{% trans 'Submit' %}" />
{% csrf_token %}
</form>
{% else %}
<p>{% trans "Password reset failed" %}</p>
{% endif %}
{% endblock %}
{% block scripts %}
<script>
$(document).ready(function() {
$("#password_form input:text, #password_form textarea").first().focus();
});
</script>
{% endblock %}
|