Skip to content

Commit

Permalink
Ajoute un autofocus pour la connexion
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-D committed Jul 27, 2014
1 parent 9526266 commit 394e53f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions zds/member/forms.py
Expand Up @@ -50,6 +50,11 @@ class LoginForm(forms.Form):
label='Identifiant',
max_length=User._meta.get_field('username').max_length,
required=True,
widget=forms.TextInput(
attrs={
'autofocus': ''
}
)
)

password = forms.CharField(
Expand Down

0 comments on commit 394e53f

Please sign in to comment.