Merge pull request #65 from dzamlo/unstable

Add the autofocus attribute to the username field
This commit is contained in:
opi 2016-09-08 17:13:56 +02:00 committed by GitHub
commit 366dd6c443

View file

@ -2,7 +2,7 @@
<form class="login-form" name="input" action="" method="post"> <form class="login-form" name="input" action="" method="post">
<div class="form-group"> <div class="form-group">
<label class="icon icon-user" for="user"><span class="element-invisible">{{t_username}}</span></label> <label class="icon icon-user" for="user"><span class="element-invisible">{{t_username}}</span></label>
<input id="user" type="text" name="user" placeholder="{{t_username}}" class="form-text" required> <input id="user" type="text" name="user" placeholder="{{t_username}}" class="form-text" autofocus required>
</div> </div>
<div class="form-group"> <div class="form-group">
<label class="icon icon-lock" for="password"><span class="element-invisible">{{t_password}}</span></label> <label class="icon icon-lock" for="password"><span class="element-invisible">{{t_password}}</span></label>