{% extends 'AppBundle:Admin:layout.html.twig' %}
{% form_theme form 'bootstrap_3_layout.html.twig' %}

{% block body %}
    <div class="container-fluid">
        <div class="row fixed">
            <div class="col-md-4"></div>
            <div class="col-md-4">
                <div id="login" class="row fixed">
                    <div class="col-md-3"></div>
                    <div class="col-md-6">
                        {{ form_start(form) }}
                            {{ form_row(form.email, { attr: { placeholder: 'Adres email' } }) }}

                            <div class="form-group text-center">
                                <button type="submit" class="btn btn-primary">Wyślij link resetujący hasło</button>
                            </div>
                        {{ form_end(form) }}

                        {% if error %}
                            <div class="alert alert-danger alert-dismissable">
                                <button type="button" class="close" data-dismiss="alert">&times;</button>
                                Brak użytkownika w bazie.
                            </div>
                        {% endif %}
                    </div>
                    <div class="col-md-3">
                </div>
            </div>
            <div class="col-md-4"></div>
        </div>
    </div>
{% endblock %}