-
Notifications
You must be signed in to change notification settings - Fork 7
/
auth_password-restore-finish.tpl
56 lines (44 loc) · 1.67 KB
/
auth_password-restore-finish.tpl
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
{{extends file="layout.tpl"}}
{{block content}}
<div class="article_content bloger content_text white-box">
<div class="clearfix">
<h3 class="normal_header">
{{'setNewPassword'|translate}}
</h3>
<div class="register_form">
<form action="{{ $form->getAction() }}" method="{{ $form->getMethod() }}">
<fieldset>
{{ if $form->isErrors() }}
<div class="alert alert-error">
<p>{{'couldNotChange'|translate}}</p>
</div>
{{ /if }}
</fieldset>
<fieldset class="fixBackground background-block login">
<dl>
{{ $form->password->setLabel("{{'newPassword'|translate}}")->removeDecorator('Errors') }}
{{ if $form->password->hasErrors() }}
<dt class="info-block"> </dt>
<dd class="info-block">
<span class="error-info">{{'enterNewPassword'|translate}}</span>
</dd>
{{ /if }}
</dl>
<dl>
{{ $form->password_confirm->setLabel("{{'retypePassword'|translate}}")->removeDecorator('Errors') }}
{{ if $form->password_confirm->hasErrors() && !$form->password->hasErrors() }}
<dt class="info-block"> </dt>
<dd class="info-block">
<span class="error-info">{{'doesNotMatch'|translate}}</span>
</dd>
{{ /if }}
</dl>
<p class="overflow_hidden"><button type="submit" id="submit" class="purple_button ">
{{'savePassword'|translate}}
</button></p>
</fieldset>
</form>
</div>
</div>
</div>
{{/block}}