aboutsummaryrefslogtreecommitdiff
path: root/views/default/forms/login.php
diff options
context:
space:
mode:
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>