~cedric/pyAggr3g470r

26d44b359549a06a9c0c07dab6e8d5b2c74a428a — cedricbonhomme 11 years ago 0a7006d
HTML username text input is now focused by default.
1 files changed, 1 insertions(+), 1 deletions(-)

M source/auth.py
M source/auth.py => source/auth.py +1 -1
@@ 186,7 186,7 @@ class AuthController(object):
                <form method="post" action="/auth/login">
                    <input type="hidden" name="from_page" value="%(from_page)s" />
                    %(msg)s<br />
                    <input type="text" name="username" value="%(username)s" placeholder="Username" /><br />
                    <input type="text" name="username" value="%(username)s" placeholder="Username" autofocus="autofocus" /><br />
                    <input type="password" name="password" placeholder="Password" /><br />
                    <input type="submit" value="Log in" />
                </form>