aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/login.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-10-09 17:38:09 -0400
committerCash Costello <cash.costello@gmail.com>2011-10-09 17:38:09 -0400
commitfbfcfee331d768c20e86585c644628b1bf3f14b7 (patch)
tree89df9acfa281809106bc58f5cc0282fc893988ba /views/default/forms/login.php
parent79cf12c11e6e16e59be8d485ff26714b5c6fb55d (diff)
downloadelgg-fbfcfee331d768c20e86585c644628b1bf3f14b7.tar.gz
elgg-fbfcfee331d768c20e86585c644628b1bf3f14b7.tar.bz2
Fixes #3673 added autofocus class
Diffstat (limited to 'views/default/forms/login.php')
-rw-r--r--views/default/forms/login.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/views/default/forms/login.php b/views/default/forms/login.php
index 91e9cda42..956b3a87f 100644
--- a/views/default/forms/login.php
+++ b/views/default/forms/login.php
@@ -9,7 +9,11 @@
<div>
<label><?php echo elgg_echo('loginusername'); ?></label>
- <?php echo elgg_view('input/text', array('name' => 'username')); ?>
+ <?php echo elgg_view('input/text', array(
+ 'name' => 'username',
+ 'class' => 'elgg-autofocus',
+ ));
+ ?>
</div>
<div>
<label><?php echo elgg_echo('password'); ?></label>