Commit 4626f261 authored by Matt Lee's avatar Matt Lee

update login form with auto-focus, do not assume 'remember me'

parent c7eeb88f
<div class="form-group">
<label for='username'>{t}Username{/t}</label>
<input class="form-control" id='username' name='username' type='text' value='{$username}' required>
<input class="form-control" id='username' name='username' type='text' value='{$username}' required autofocus>
</div>
<div class="form-group">
<label for='password'>{t}Password{/t}</label>
<input class="form-control" id='password' name='password' type='password' value=''required>
<input class="form-control" id='password' name='password' type='password' value='' required>
</div>
<div class="checkbox">
<label for='remember'>
<input type='checkbox' checked name='remember' id='remember' /> {t}Remember my login{/t}
<input type='checkbox' name='remember' id='remember' /> {t}Remember my login{/t}
</label>
</div>
<input name="return" type="hidden" value="{$return|htmlentities}" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment