errors.html 1.44 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
<section class="blue container-fluid">
	<div class="row">
		<div class="col-md-10 col-md-offset-1 header">
			<h2><span>{{ @ERROR.code }} - {{ @ERROR.status }}</span></h2>
			<hr>
		</div>
	</div>
	<div class="row">
		<check if="{{ @ERROR.code == 403 }}">
		<div class="col-md-5 col-md-offset-1 well light-blue">
Okhin's avatar
Okhin committed
11
			<h2><span>{{ @ERROR.code }} - {{ @ERROR.status }}</span></h2>
12
13
14
15
16
17
			{{ _("Accès refusé.<br>Votre mot de passe est invalide.") }}
		</div>
		<div class="col-md-5 well sky-blue">
			<form method="POST" class="form-inline" action="{{ 'login' | alias }}">
				<fieldset>
					<legend>
nono's avatar
nono committed
18
						<h3 class="text-center">{{ _("Réinitialiser votre mot de passe.") }}</h3>
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
					</legend>
					<input type="hidden" name="csrf" id="csrf" value="{{ @CSRF }}">
					<input type="hidden" name="action" id="action" value="renew_password">
					<div class="form-group">
						<label for="email">{{ _("Adresse mail") }}</label>
						<input class="form-control" type="email" id="email" required>
					</div>
					<div class="form-group">
						<input class="btn btn-lg btn-default text-center" type="submit" name="submit" id="submit" value={{ _('"Réinitialiser le mot de passe"') }}>
					</div>
				</fieldset>
			</form>
		</div>
		<div class="clearfix"></div>
		<false>
		<div class="col-md-10 col-md-offset-1 well light-blue">
			{{ @ERROR.text }}<br>
			<check if="{{ @DEBUG > 0 }}">
			{{ @ERROR.trace | raw }}
			</check>
		</div>
		</false>
		</check>
	</div>
</section>