blob: f0864c129c16e41dc00e25f54f723d23c40950dc (
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="registration_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() {
$("#registration_form input:text, #registration_form textarea").first().focus();
});
</script>
{% endblock %}
|