From e0d03c2cc30d4d59f53f4b207dbf26ba63998822 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Fri, 12 Feb 2016 16:27:11 +0000 Subject: [PATCH] Made username field autofocus (using HTML5 Attribute). Fixes #193 --- templates/registration/loginform.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/registration/loginform.html b/templates/registration/loginform.html index 49ebb44f..74a3787b 100644 --- a/templates/registration/loginform.html +++ b/templates/registration/loginform.html @@ -6,7 +6,7 @@
{% csrf_token %}
- {% render_field form.username class+="form-control" placeholder=form.username.label %} + {% render_field form.username class+="form-control" placeholder=form.username.label autofocus="" %}