{% extends 'BasicData/login_base.html' %}
{% load widget_tweaks %}
{% block content %}



	<!--Reset Password-->
	<div class="container p-5">
  	 	<h4 class="font-weight-bold mt-3" style="text-align:center;">Réinitialiser le mot de passe</h4>
		<hr>
		<span style="color:green;">{{user}} (Tel: {{user.phone}})</span>
        <form method="POST" action="#">
            {% csrf_token %}
			<br/>
			{% for message in messages %}
				<p style="color:red;">{{message}}</p>
			{% endfor %}
			<div>
				<label>Nouveau mot de passe</label>
            	<input type="password" class="form-control" name="password" placeholder="************">
			</div><br/>
			<div>
				<label>Confirmer</label>
				<input type="password" class="form-control" name="password2" placeholder="************">
			</div>
			<br/><hr/>
			<div class="row">
				<div class="col-md-7">
					<button class="btn btn-primary" type="submit">Réinitialiser</button>
				</div>
				<div class="col-md-5">
					<p><a class="btn btn-secondary" href="{% url 'BasicData:login' %}">Login</a></p>
				</div>
			</div>
        </form>
  	</div> 

{% endblock %}