Re-add labels for password inputs for usability

* ref https://github.com/nextcloud/server/pull/112#discussion_r67245286
This commit is contained in:
Morris Jobke 2016-06-15 23:25:06 +02:00
parent 19f2e78604
commit b729703b6c
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
1 changed files with 2 additions and 0 deletions

View File

@ -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"