Skip to content
Snippets Groups Projects
Commit 8f135707 authored by Marius Burkard's avatar Marius Burkard
Browse files

- set autofocus on username/email field for login page, implements #5358

parent a68bd9a7
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<form accept-charset="UTF-8" role="form" method="post" action="index.php"> <form accept-charset="UTF-8" role="form" method="post" action="index.php">
<fieldset> <fieldset>
<div class="form-group"> <div class="form-group">
<input class="form-control" placeholder="{tmpl_var name='username_txt'}" name="username" id="username" type="text"> <input class="form-control" placeholder="{tmpl_var name='username_txt'}" name="username" id="username" type="text" autofocus>
</div> </div>
<div class="form-group"> <div class="form-group">
<input class="form-control" placeholder="{tmpl_var name='password_txt'}" name="password" id="password" type="password" value=""> <input class="form-control" placeholder="{tmpl_var name='password_txt'}" name="password" id="password" type="password" value="">
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
<form accept-charset="UTF-8" role="form" method="post" action="password_reset.php"> <form accept-charset="UTF-8" role="form" method="post" action="password_reset.php">
<fieldset> <fieldset>
<div class="form-group"> <div class="form-group">
<input class="form-control" placeholder="{tmpl_var name='email_txt'}" name="email" id="email" type="text"> <input class="form-control" placeholder="{tmpl_var name='email_txt'}" name="email" id="email" type="text" autofocus>
</div> </div>
<div class="form-group"> <div class="form-group">
<input class="form-control" placeholder="{tmpl_var name='username_txt'}" name="username" id="username" type="text"> <input class="form-control" placeholder="{tmpl_var name='username_txt'}" name="username" id="username" type="text">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment