aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-06-15 23:25:06 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-06-16 13:07:22 +0200
commitb729703b6cba710f61debd8d8b2316a4b0952017 (patch)
treeb31f0dba2cad3c0c98b3beb99e975a071361df5e /settings/templates
parent19f2e786046b991c255c095786dcf73f54bb221f (diff)
downloadnextcloud-server-b729703b6cba710f61debd8d8b2316a4b0952017.tar.gz
nextcloud-server-b729703b6cba710f61debd8d8b2316a4b0952017.zip
Re-add labels for password inputs for usability
* ref https://github.com/nextcloud/server/pull/112#discussion_r67245286
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index b4ff5db5c7c..4f3bca63a4e 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -121,9 +121,11 @@ if($_['passwordChangeSupported']) {
<div class="hidden icon-checkmark" id="password-changed"></div>
<div class="hidden" id="password-error"><?php p($l->t('Unable to change your password'));?></div>
<br>
+ <label for="pass1" class="hidden-visually"><?php echo $l->t('Current password');?>: </label>
<input type="password" id="pass1" name="oldpassword"
placeholder="<?php echo $l->t('Current password');?>"
autocomplete="off" autocapitalize="off" autocorrect="off" />
+ <label for="pass2" class="hidden-visually"><?php echo $l->t('New password');?>: </label>
<input type="password" id="pass2" name="personal-password"
placeholder="<?php echo $l->t('New password');?>"
data-typetoggle="#personal-show"