blob: a380af3cd8861040b30f5052998e33f1af409486 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
{% extends "base.html" %}
{% load i18n %}
{% block content %}
<form id="password_form" method="post" action=".">
{{ form.as_p }}
<input type="submit" class="btn" value="{% trans 'Submit' %}" />
{% csrf_token %}
</form>
{% endblock %}
{% block scripts %}
<script>
$(document).ready(function() {
$("#password_form input:text, #password_form textarea").first().focus();
});
</script>
{% endblock %}
|