-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathauth_index.tpl
executable file
·59 lines (47 loc) · 1.91 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
{{ config_load file="{{ $gimme->language->english_name }}.conf" }}
{{ include file="_tpl/_html-head.tpl" }}
<div id="wrapper">
{{ include file="_tpl/header.tpl" }}
<div id="content">
{{ assign var="userindex" value=1 }}
<div class="title page-title">
<h2>{{ #login# }}</h2>
</div>
<section class="grid-6 extended-small">
<div class="form-content horizontal-form">
<form action="{{ $form->getAction() }}" method="{{ $form->getMethod() }}">
<fieldset>
{{ if $form->isErrors() }}
<div class="alert alert-error">
<h5>{{ #loginFailed# }}</h5>
<p>{{ #eitherEmailPassword# }}</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("{{ #email# }}")->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>
</div>
</section><!-- / 6 articles grid -->
</div><!-- / Content -->
{{ include file="_tpl/footer.tpl" }}
</div><!-- / Wrapper -->
{{ include file="_tpl/_html-foot.tpl" }}
</body>
</html>