{% extends 'layouts/app.twig' %}
{% import 'macros/base.twig' as m %}
{% import 'macros/form.twig' as f %}

{% block title %}{{ __('password.reset.title') }}{% endblock %}

{% block content %}
    <div class="container">
        <h1>{{ __('password.reset.title') }}</h1>

        {% include 'layouts/parts/messages.twig' %}

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

                        {{ __('password.recovery.text') }}
                        {{ f.input('email', __('general.email'), {
                            'type': 'email',
                            'required': true,
                        }) }}

                        {{ f.submit(__('form.recover')) }}
                    </form>
                </div>
            {% endblock %}
        </div>
    </div>
{% endblock %}
