{% 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;">Vérification du compte</h4>
		<hr>
		{% for message in messages %}
			<p style="color:red;">{{message}}</p>
		{% endfor %}<br/>
        <form method="POST" action="#">
            {% csrf_token %}
			<div>
				<label>Email</label>
            {% render_field form.username class+="form-control" placeholder="Entrez votre Email" %}
			</div><br/>
			<div>
				<label>Code secret</label>
            {% render_field form.secret class+="form-control" placeholder="Entrez code secret" %}
			</div>
			<br/><hr/>
			<div class="row">
				<div class="col-md-7">
					<button class="btn btn-primary" type="submit">Verifiez</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 %}