{#
# This file is part of SolidInvoice package.
#
# (c) Pierre du Plessis <open-source@solidworx.co>
#
# This source file is subject to the MIT license that is bundled
# with this source code in the file LICENSE.
#}

{% set body_class = 'login-page' %}

{% extends "@SolidInvoiceCore/Layout/default_no_nav.html.twig" %}

{% block title %}{{ "Reset your password" }}{% endblock title %}

{% block content %}
    <section class="container">

        {% include "@SolidInvoiceCore/flash.html.twig" %}

        <div class="card widget">
            <div class="card-body">
                <p>
                    {{ 'Forgot your password? Enter your email to reset your password.'|trans }}
                </p>
                {{ form_start(form) }}

                {{ form_row(form.email) }}
                <div>
                    <button type="submit" class="btn btn-primary">
                        {{ icon('lock') }} {{ 'forgot_password.request.submit'|trans }}
                    </button>
                    <a href="{{ path('_login') }}" class="btn btn-success">
                        {{ icon('key') }} {{ 'security.login.login'|trans }}
                    </a>
                </div>
                {{ form_end(form) }}
            </div>
        </div>
    </section>
{% endblock %}
