{% extends "BackendBaseBundle:Layout:securityLayout.html.twig" %}

{% block content %}
    <div class="middle-box text-center animated fadeInDown">
        <div>
            <div>
                <h1 class="logo-name">{{ app.request.attributes.get('slug') }}</h1>
            </div>
            <h3>{{ "message.backend.forgetpassword.welcome"|trans({}, "forms") }}</h3>
            <p>{{ "message.backend.forgetpassword.info"|trans({}, "forms") }}</p>
            <form role="form" class="m-t" method="post">
                <div class="form-group">
                    <input name="email" type="email" required="" placeholder="Email" class="form-control">
                </div>
                <div class="form-group">
                    <div class="g-recaptcha" data-sitekey="{{ recaptchaConfig.recaptcha_site_key }}"></div>
                </div>
                <button class="btn btn-primary block full-width m-b" type="submit">{{ 'form.button.send'|trans({}, 'forms') }}</button>
            </form>
        </div>
    </div>
{% endblock %}

{% block javascripts %}
    {{- parent() -}}
    <script src='https://www.google.com/recaptcha/api.js'></script>
{% endblock javascripts %}
