forked from newscoop/theme-Liquid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathauth_index.tpl
75 lines (48 loc) · 1.88 KB
/
auth_index.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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{{if isset($smarty.post.ajax) }}
{{ if $form->isErrors() }}ERROR{{/if}}
{{else}}
{{ include file="_tpl/_html-head.tpl" }}
{{ include file="_tpl/header.tpl" }}
<div id="page" class="container">
<!-- Content -->
<section id="content">
{{ assign var="userindex" value=1 }}
<div class="article_content bloger content_text white-box">
<div class="clearfix">
<h3 class="normal_header">{{'Login'|translate}}</h3>
<form action="{{ $form->getAction() }}" method="{{ $form->getMethod() }}">
<fieldset>
{{ if $form->isErrors() }}
<div class="alert alert-error">
<h5>{{'loginFailed'|translate}}</h5>
<p>{{'somethingWrong'|translate}}</p>
<p>{{'tryAgain'|translate}}</p>
<p><a class="register-link" href="{{ $view->url(['controller' => 'auth', 'action' => 'password-restore']) }}">{{'forgotPassword'|translate}}</a></p>
</div>
{{ /if }}
</fieldset>
<fieldset class="background-block login">
<dl>
{{ $form->email->setLabel("{{'email'|translate}}")->removeDecorator('Errors') }}
{{ $form->password->setLabel("{{'password'|translate}}")->removeDecorator('Errors') }}
<dt class="empty"> </dt>
<dd>
<span class="input-info">
<a class="register-link" href="{{ $view->url(['controller' => 'auth', 'action' => 'password-restore']) }}">{{'forgotPassword'|translate}}</a><br />
<a class="register-link" href="{{ $view->url(['controller' => 'register', 'action' => 'index']) }}">{{'Register'|translate}}</a>
</span>
</dd>
</dl>
<div class="form-buttons right">
<input type="submit" id="submit" class="button big" value="{{'Login'|translate}}" />
</div>
</fieldset>
</form>
</div>
</div>
</section>
<!-- End Content -->
</div>
{{ include file="_tpl/footer.tpl" }}
{{ include file="_tpl/_html-foot.tpl" }}
{{/if}}