summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTillmann Karras <tillmann@selfnet.de>2013-09-01 22:51:28 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-02 22:02:27 +0200
commit69e0cba93445496e7b045b54ecefe8243276fd50 (patch)
tree8d6c7b87844b1319adab7f25d7ef5c7c51e0e513
parenteafc10e06fc0e08df684722e6ca2a221aebdf4d0 (diff)
Autofocus username text box on upload_form
Signed-off-by: Florian Pritz <bluewind@xinu.at>
-rw-r--r--application/views/file/upload_form.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/file/upload_form.php b/application/views/file/upload_form.php
index 841ac3746..21a2cc4e6 100644
--- a/application/views/file/upload_form.php
+++ b/application/views/file/upload_form.php
@@ -46,7 +46,7 @@
<?php } else { ?>
<?php echo form_open('user/login'); ?>
- <input type="text" name="username" placeholder="Username" />
+ <input type="text" name="username" placeholder="Username" autofocus />
<input type="password" name="password" placeholder="Password" />
<input type="submit" class="btn btn-primary" value="Login" name="process" style="margin-bottom: 9px" />
<?php if(auth_driver_function_implemented("can_reset_password")) { ?>