summaryrefslogtreecommitdiffstats
path: root/core/templates
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-08 11:45:01 +0200
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>2011-08-08 11:46:39 +0200
commitc572de6276104d7041b288585f29e1ed39fdbb26 (patch)
treeb6feb6039c24a16099f4e1590af4b0e3912c62b6 /core/templates
parent5382ec66a2ec0491b8d8a3882f78fdc9443d0ab5 (diff)
downloadnextcloud-server-c572de6276104d7041b288585f29e1ed39fdbb26.tar.gz
nextcloud-server-c572de6276104d7041b288585f29e1ed39fdbb26.zip
hide log in button etc when form fields not filled
Diffstat (limited to 'core/templates')
-rw-r--r--core/templates/login.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/login.php b/core/templates/login.php
index 6206a8f34e0..19f25f033d3 100644
--- a/core/templates/login.php
+++ b/core/templates/login.php
@@ -10,11 +10,11 @@
<?php if(empty($_["username"])){?>
<input type="text" name="user" id="user" placeholder="Username" value="" autocomplete="off" required autofocus />
<input type="password" name="password" id="password" placeholder="Password" value="" required />
- <input type="checkbox" name="remember_login" id="remember_login" /> <?php echo $l->t('remember'); ?>
+ <input type="checkbox" name="remember_login" id="remember_login" /><label for="remember_login"><?php echo $l->t('remember'); ?></label>
<?php }else{ ?>
<input type="text" name="user" id="user" placeholder="Username" value="<?php echo $_['username']; ?>" autocomplete="off" required >
<input type="password" name="password" id="password" placeholder="Password" value="" required autofocus />
- <input type="checkbox" name="remember_login" id="remember_login" checked /> <?php echo $l->t('remember'); ?>
+ <input type="checkbox" name="remember_login" id="remember_login" checked /><label for="remember_login"><?php echo $l->t('remember'); ?></label>
<?php } ?>
<input type="submit" id="submit" value="Log in" />
</fieldset>