src/hdalab/templates/registration/password_reset_form.html
changeset 384 83adb3fd0efd
parent 335 51225e522007
child 546 0ca66b267d15
--- a/src/hdalab/templates/registration/password_reset_form.html	Mon Dec 01 10:34:53 2014 +0100
+++ b/src/hdalab/templates/registration/password_reset_form.html	Wed Dec 10 11:34:54 2014 +0100
@@ -1,12 +1,34 @@
 {% extends "base.html" %}
+{% load static %}
 {% load i18n %}
 
+{% block title %}{% trans "Password reset" %}{% endblock %}
+
+{% block css_import %}
+{{block.super}}
+        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/login.css' %}" />
+{% endblock %}
+
+{% block login_actif %}actif{% endblock %}
+
 {% block main_content %}
-<div class="register">
-	<form method="post" action=".">
-	  {% csrf_token %} 
-	  {{ form.as_p }}
-	  <input type="submit" value="{% trans 'Submit' %}" />
-	</form>
-</div>
+	<div class="register">
+		<h1>{% trans "Recuperation du Mot de Passe" %}</h1>
+		{% if form.errors %}
+        	<p class="error">{% trans "Sorry, that's not a valid username or password." %}</p>
+        {% endif %}
+		<form method="post" action="">
+	  		{% csrf_token %} 
+	  		<p>
+	            <label for="email">{% trans "Email du compte:" %}</label>
+	            {{form.email}}
+	        </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 %}
+
+
+