aboutsummaryrefslogtreecommitdiffstats
path: root/apps/settings/templates
diff options
context:
space:
mode:
Diffstat (limited to 'apps/settings/templates')
-rw-r--r--apps/settings/templates/settings/personal/security/password.php32
1 files changed, 18 insertions, 14 deletions
diff --git a/apps/settings/templates/settings/personal/security/password.php b/apps/settings/templates/settings/personal/security/password.php
index 85959e252cc..2d1f9f27625 100644
--- a/apps/settings/templates/settings/personal/security/password.php
+++ b/apps/settings/templates/settings/personal/security/password.php
@@ -37,25 +37,29 @@ if ($_['passwordChangeSupported']) {
<h2 class="inlineblock"><?php p($l->t('Password'));?></h2>
<span id="password-error-msg" class="msg success hidden">Saved</span>
<div class="personal-settings-setting-box personal-settings-password-box">
- <form id="passwordform" method="POST">
- <label for="pass1" class="hidden-visually"><?php p($l->t('Current password')); ?>: </label>
+ <form id="passwordform" method="POST">
+ <div class="input-control">
+ <label for="pass1"><?php p($l->t('Current password')); ?>: </label>
<input type="password" id="pass1" name="oldpassword"
placeholder="<?php p($l->t('Current password'));?>"
autocomplete="current-password" autocapitalize="none" autocorrect="off" />
+ </div>
- <div class="personal-show-container">
- <label for="pass2" class="hidden-visually"><?php p($l->t('New password'));?>: </label>
- <input type="password" id="pass2" name="newpassword"
- maxlength="469"
- placeholder="<?php p($l->t('New password')); ?>"
- data-typetoggle="#personal-show"
- autocomplete="new-password" autocapitalize="none" autocorrect="off" />
- <input type="checkbox" id="personal-show" class="hidden-visually" name="show" /><label for="personal-show" class="personal-show-label"></label>
- </div>
+ <div class="personal-show-container">
+ <label for="pass2" ><?php p($l->t('New password'));?>: </label>
+ <input type="password" id="pass2" name="newpassword"
+ maxlength="469"
+ placeholder="<?php p($l->t('New password')); ?>"
+ data-typetoggle="#personal-show"
+ autocomplete="new-password" autocapitalize="none" autocorrect="off" />
+ <input type="checkbox" id="personal-show" class="hidden-visually" name="show" />
+ <label for="personal-show" class="personal-show-label"></label>
+ </div>
- <input id="passwordbutton" type="submit" value="<?php p($l->t('Change password')); ?>" />
-
- </form>
+ <div>
+ <input id="passwordbutton" class="primary" type="submit" value="<?php p($l->t('Change password')); ?>" />
+ </div>
+ </form>
</div>
<span class="msg"></span>
</div>