Add autofocus to the username input on the login page
This commit is contained in:
		@@ -6,6 +6,14 @@ All notable changes to this project will be documented in this file.
 | 
			
		||||
.. contents:: Table of Contents
 | 
			
		||||
   :depth: 2
 | 
			
		||||
 | 
			
		||||
Unreleased
 | 
			
		||||
==========
 | 
			
		||||
 | 
			
		||||
Added
 | 
			
		||||
-----
 | 
			
		||||
* Add autofocus to the username input on the login page
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
v0.7.2 - 2016-08-31
 | 
			
		||||
===================
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -100,7 +100,10 @@ class UserCredential(BaseLogin):
 | 
			
		||||
         Form used on the login page to retrive user credentials
 | 
			
		||||
     """
 | 
			
		||||
    #: The user username
 | 
			
		||||
    username = forms.CharField(label=_('username'))
 | 
			
		||||
    username = forms.CharField(
 | 
			
		||||
        label=_('username'),
 | 
			
		||||
        widget=forms.TextInput(attrs={'autofocus': 'autofocus'})
 | 
			
		||||
    )
 | 
			
		||||
    #: The user password
 | 
			
		||||
    password = forms.CharField(label=_('password'), widget=forms.PasswordInput)
 | 
			
		||||
    #: A checkbox to ask to be warn before emiting a ticket for another service
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user