Skip to content

Commit 8f13570

Browse files
author
Marius Burkard
committed
- set autofocus on username/email field for login page, implements #5358
1 parent a68bd9a commit 8f13570

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

interface/web/login/templates/index.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<form accept-charset="UTF-8" role="form" method="post" action="index.php">
55
<fieldset>
66
<div class="form-group">
7-
<input class="form-control" placeholder="{tmpl_var name='username_txt'}" name="username" id="username" type="text">
7+
<input class="form-control" placeholder="{tmpl_var name='username_txt'}" name="username" id="username" type="text" autofocus>
88
</div>
99
<div class="form-group">
1010
<input class="form-control" placeholder="{tmpl_var name='password_txt'}" name="password" id="password" type="password" value="">

interface/web/login/templates/password_reset.htm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ <h2><tmpl_var name="pw_reset_txt"></h2>
99
<form accept-charset="UTF-8" role="form" method="post" action="password_reset.php">
1010
<fieldset>
1111
<div class="form-group">
12-
<input class="form-control" placeholder="{tmpl_var name='email_txt'}" name="email" id="email" type="text">
12+
<input class="form-control" placeholder="{tmpl_var name='email_txt'}" name="email" id="email" type="text" autofocus>
1313
</div>
1414
<div class="form-group">
1515
<input class="form-control" placeholder="{tmpl_var name='username_txt'}" name="username" id="username" type="text">

0 commit comments

Comments
 (0)