Give focus to username when loading the login page

This commit is contained in:
Nanne Baars 2016-11-15 22:49:47 +01:00
parent f9dd1ee0e8
commit 50c89acc51

View File

@ -37,7 +37,7 @@
<form th:action="@{/login}" method='POST' style="width: 400px;"> <form th:action="@{/login}" method='POST' style="width: 400px;">
<div class="form-group"> <div class="form-group">
<label for="exampleInputEmail1">Username</label> <label for="exampleInputEmail1">Username</label>
<input type="text" class="form-control" id="exampleInputEmail1" placeholder="Username" name='username'/> <input autofocus="dummy_for_thymeleaf_parser" type="text" class="form-control" id="exampleInputEmail1" placeholder="Username" name='username'/>
</div> </div>
<div class="form-group"> <div class="form-group">
<label for="exampleInputPassword1">Password</label> <label for="exampleInputPassword1">Password</label>