{% extends "base/base.html" %}

{% block content %}
<section class="form" style="width:40%;">
	<h1>Réinitialiser le mot de passe</h1>

	<form action="" method="post">
		{{ form.hidden_tag() }}
		<div>
			{{ form.password.label }}
			<div class=desc>{{ form.password.description }}</div>
			{{ form.password() }}
			<progress class="entropy" value="0" max="100"></progress>
			{% for error in form.password.errors %}
			<span class="msgerror">{{ error }}</span>
			{% endfor %}
		</div>
		<div>
			{{ form.password2.label }}
			<div class=desc>{{ form.password2.description }}</div>
			{{ form.password2() }}
			{% for error in form.password2.errors %}
			<span class="msgerror">{{ error }}</span>
			{% endfor %}
		</div>
		<div>{{ form.submit(class_="bg-ok") }}</div>
	</form>
</section>
{% endblock %}
