summaryrefslogtreecommitdiff
path: root/resources/views/pages/password/reset.twig
blob: 289152ea658919074c7f14fdbb3dafc5a2b4b141 (plain)
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
{% extends 'layouts/app.twig' %}
{% import 'macros/base.twig' as m %}
{% import 'macros/form.twig' as f %}

{% block title %}{{ __('Password recovery') }}{% endblock %}

{% block content %}
    <div class="container">
        <h1>{{ __('Password recovery') }}</h1>

        {% for message in errors|default([]) %}
            {{ m.alert(__(message), 'danger') }}
        {% endfor %}

        <div class="row">
            {% block row_content %}
                <div class="col-md-8">
                    <form action="" enctype="multipart/form-data" method="post">
                        {{ csrf() }}

                        {{ __('We will send you an e-mail with a password recovery link. Please use the email address you used for registration.') }}
                        {{ f.input('email', __('E-Mail'), 'email', true) }}

                        <div class="form-group">
                            {{ f.submit(__('Recover')) }}
                        </div>
                    </form>
                </div>
            {% endblock %}
        </div>
    </div>
{% endblock %}