{% extends 'BasicData/login_base.html' %}


{% block content %}
<div class="card-body login-card-body">
                <p class="login-box-msg">Authentification</p>
                {% for message in messages %}
					<p style="color:red;">{{message}}</p>
				{% endfor %}
                <form action="#" method="POST">
                    {% csrf_token %}
                    <div class="input-group mb-3">
                        <input required type="text" name='username' class="form-control" placeholder="Login">
                        <div class="input-group-append">
                            <div class="input-group-text">
                                <span class="fas fa-envelope"></span>
                            </div>
                        </div>
                    </div>
                    <div class="input-group mb-3">
                        <input required type="password" name='password' class="form-control" placeholder="Password">
                        <div class="input-group-append">
                            <div class="input-group-text">
                                <span class="fas fa-lock"></span>
                            </div>
                        </div>
                    </div>
                    <br/>
                    <div class="row">
                        <div class="col-7">
                            <p class="mb-1">
                               <!-- <p><a href="{% url 'BasicData:check_account' %}">Mot de passe oublié ?</a></p> -->
                                <p><a href="{% url 'password_reset' %}">Mot de passe oublié ?</a></p>
                            </p>
                        </div>
                        <!-- /.col -->
                        <div class="col-5">
                            <button type="submit" class="btn btn-primary btn-block">Connexion</button>
                        </div>
                        <!-- /.col -->
                    </div>
                </form>

            </div>
{% endblock content %}

