-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathauth_index.tpl
executable file
·39 lines (35 loc) · 1.38 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
{{extends file="layout.tpl"}}
{{block content}}
{{ assign var="userindex" value=1 }}
<header>
<h3>{{ #Login# }}</h3>
</header>
<form action="{{ $form->getAction() }}" method="{{ $form->getMethod() }}">
<fieldset>
{{ if $form->isErrors() }}
<div class="alert alert-error">
<h5>{{ #loginFailed# }}</h5>
<p>{{ #somethingWrong# }}</p>
<p>{{ #tryAgain# }}</p>
<p><a class="register-link" href="{{ $view->url(['controller' => 'auth', 'action' => 'password-restore']) }}">{{ #forgotPassword# }}</a></p>
</div>
{{ /if }}
</fieldset>
<fieldset class="background-block login">
<dl>
{{ $form->email->setLabel("E-mail")->removeDecorator('Errors') }}
{{ $form->password->setLabel("Password")->removeDecorator('Errors') }}
<dt class="empty"> </dt>
<dd>
<span class="input-info">
<a class="register-link" href="{{ $view->url(['controller' => 'register', 'action' => 'index']) }}">{{ #Register# }}</a>
<a class="register-link" href="{{ $view->url(['controller' => 'auth', 'action' => 'password-restore']) }}">{{ #forgotPassword# }}</a>
</span>
</dd>
</dl>
<div class="form-buttons right">
<input type="submit" id="submit" class="button big" value="{{ #Login# }}" />
</div>
</fieldset>
</form>
{{/block}}