{% extends "index.html" %}
{% block body %}

    <div class="content-section">
        <form method="POST" action="">
            {{ form.hidden_tag() }}
            <fieldset class="form-group">
                <legend class="border-bottom mb-4">Reset Password Mail</legend>
                <div class="form-content">
                    
                            <div class="form-group">
                                {{ form.mail.label(class="form-control-label") }}
                                
                                {% if form.mail.errors %}
                                    {{ form.mail(class="form-control is-invalid") }}
                                        <div class="invalid-feedback">
                                            {% for error in form.mail.errors %}
                                                <span>{{ error }}</span>
                                            {% endfor %}
                                        </div>
                                {% else %}
                                    {{ form.mail(class="form-control") }}
                                {% endif %}
                                
                            </div>
                    <div class="form-group">
                            {{ form.submit(class="btn btn-outline-info") }}
                    </div>
                </div>
            </fieldset>
        
        </form>
    </div>

{% endblock %}