{% extends 'main_app/base_enseignant.html' %}
{% load static %}
{% block page_title %}Changer le Mot de passe{% endblock page_title %}

{% block content %}
 <div class="card-body login-card-body">
     {% for message in messages %}
        <p style="color:#229954;text-align:center;font-size:18px;">{{message}}</p><br>
     {% endfor %}
        <p class="login-box-msg">Changer votre mot de passe</p>
        <form action="#" method="POST">
            {% csrf_token %}
            <div class="form-group">
                <input required type="password" name='password1' class="form-control" placeholder="Ancien mot de passe"><br/>
                <input required type="password" name='password2' class="form-control" placeholder="Nouveau mot de passe"><br/>
                <input required type="password" name='password3' class="form-control" placeholder="Confirmer Nouveau mot de passe">
            </div>
        <button type="submit" class='btn btn-primary'>Changer</button>
        </form>

    </div>
{% endblock content %}

{% block custom_js %}
{% endblock custom_js %}