From 85a835ed0d24a72615ff3bd1d5d0edefadefa154 Mon Sep 17 00:00:00 2001 From: David Taylor Date: Wed, 19 Jun 2019 22:20:02 +0100 Subject: [PATCH] Remove autofocus from embedded login form --- templates/registration/login_embed.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/registration/login_embed.html b/templates/registration/login_embed.html index bddb7333..f71b2cb5 100644 --- a/templates/registration/login_embed.html +++ b/templates/registration/login_embed.html @@ -17,11 +17,11 @@
{% 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=false %}
- {% render_field form.password class+="form-control" placeholder=form.password.label %} + {% render_field form.password class+="form-control" placeholder=form.password.label autofocus=false %}