diff options
Diffstat (limited to 'templates/registration/password_reset_form.html')
-rw-r--r-- | templates/registration/password_reset_form.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/templates/registration/password_reset_form.html b/templates/registration/password_reset_form.html new file mode 100644 index 0000000..bb2ea93 --- /dev/null +++ b/templates/registration/password_reset_form.html @@ -0,0 +1,20 @@ +{% extends "base.html" %} +{% load i18n %} + +{% block content %} +<form id="password_form" method="post" action="."> + {{ form.as_p }} + + <input type="submit" class="btn btn-default" value="{% trans 'Submit' %}" /> + {% csrf_token %} +</form> +{% endblock %} + + +{% block scripts %} +<script> + $(document).ready(function() { + $("#password_form input:text, #password_form textarea").first().focus(); + }); +</script> +{% endblock %} |