-
Notifications
You must be signed in to change notification settings - Fork 279
Expand file tree
/
Copy pathuser-password.tpl
More file actions
38 lines (37 loc) · 1.98 KB
/
user-password.tpl
File metadata and controls
38 lines (37 loc) · 1.98 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{include file="$template/includes/flashmessage.tpl"}
<form class="form-horizontal using-password-strength" method="post" action="{routePath('user-password')}" role="form">
<input type="hidden" name="submit" value="true" />
<div class="form-group">
<label for="inputExistingPassword" class="col-sm-4 control-label">{$LANG.existingpassword}</label>
<div class="col-sm-5">
<input type="password" class="form-control" name="existingpw" id="inputExistingPassword" autocomplete="off" />
</div>
</div>
<div id="newPassword1" class="form-group has-feedback">
<label for="inputNewPassword1" class="col-sm-4 control-label">{$LANG.newpassword}</label>
<div class="col-sm-5">
<input type="password" class="form-control" name="newpw" id="inputNewPassword1" autocomplete="off" />
<span class="form-control-feedback glyphicon"></span>
{include file="$template/includes/pwstrength.tpl" maximumPasswordLength=$maximumPasswordLength}
</div>
<div class="col-sm-3">
<button type="button" class="btn btn-default generate-password" data-targetfields="inputNewPassword1,inputNewPassword2">
{$LANG.generatePassword.btnLabel}
</button>
</div>
</div>
<div id="newPassword2" class="form-group has-feedback">
<label for="inputNewPassword2" class="col-sm-4 control-label">{$LANG.confirmnewpassword}</label>
<div class="col-sm-5">
<input type="password" class="form-control" name="confirmpw" id="inputNewPassword2" autocomplete="off" />
<span class="form-control-feedback glyphicon"></span>
<div id="inputNewPassword2Msg"></div>
</div>
</div>
<div class="form-group">
<div class="text-center">
<input class="btn btn-primary" type="submit" value="{$LANG.clientareasavechanges}" />
<input class="btn btn-default" type="reset" value="{$LANG.cancel}" />
</div>
</div>
</form>