blob: 2c890a1ab3da9d34bb5f5efb5f0cc9f208a3a7f2 (
plain) (
blame)
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
|
{% extends "pages/abstract/base.html.twig" %}
{# Overrides blocks in head of base template #}
{% block page_title %}{{ translate("PASSWORD.FORGOTTEN") }}{% endblock %}
{% block page_description %}{{ translate("PASSWORD.FORGET.PAGE") }}{% endblock %}
{% block body_attributes %}
class="hold-transition login-page"
{% endblock %}
{% block content %}
<div class="login-box">
<div class="login-logo">
<a href="{{ site.uri.public }}">{{ site.title }}</a>
</div>
<!-- /.login-logo -->
<div class="login-box-body login-form">
<p class="login-box-msg"><strong>{{ translate("PASSWORD.FORGOTTEN") }}</strong></p>
<p class="login-box-msg">{{ translate("PASSWORD.FORGET.EMAIL") }}</p>
<div class="form-alerts" id="alerts-page"></div>
<form id="request-password-reset" role="form" action="{{ site.uri.public }}/account/forgot-password"
method="post" class="r-form">
{% include "forms/csrf.html.twig" %}
<div class="form-group">
<label class="sr-only" for="reset-form-email">{{ translate("EMAIL") }}</label>
<input type="text" name="email" placeholder="{{ translate("EMAIL") }}" class="form-control"
id="reset-form-email">
</div>
<button type="submit"
class="btn btn-block btn-primary">{{ translate("PASSWORD.FORGET.EMAIL_SEND") }}</button>
</form>
</div>
<!-- /.login-box-body -->
{% endblock %}
{% block scripts_page %}
<!-- Include validation rules -->
<script>
{% include "pages/partials/page.js.twig" %}
</script>
<!-- Include page-specific JS bundle -->
{{ assets.js('js/pages/forgot-password') | raw }}
{% endblock %}
|