{% extends "base.html" %}
{% load static %}
{% load i18n %}

{% block title %}{% trans "Password change" %}{% endblock %}

{% block css_import %}
{{block.super}}
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/login.css' %}" />
{% endblock %}

{% block main_content %}
<div class="register">
	<h1>{% trans "Changer le mot de passe" %}</h1>
	<form method="post" action=".">
		{% csrf_token %}
		<p>
			<label for="password1">{% trans "Ancien mot de passe" %}</label>
			{{form.old_password}}
		</p>
		<p>
			<label for="password1">{% trans "Nouveau mot de passe" %}</label>
			{{form.new_password1}}
		</p>
		<p>
			<label for="password2">{% trans "Nouveau mot de passe (Verification)" %}</label>
			{{form.new_password2}}
		</p>
	  	<div class="btn-submit">
	        	<p><a class="btn-previous" href="{% url 'login' %}">{% trans "Precedent" %}</a><input type="submit" value="{% trans 'Submit' %}" /></p>
		</div>
	</form>
</div>
{% endblock %}
