--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/hdalab/templates/registration/login.html Tue Sep 23 15:51:35 2014 +0200
@@ -0,0 +1,25 @@
+{% extends "base.html" %}
+{% load static %}
+{% load i18n %}
+
+{% block title %}{% trans "Login" %}{% endblock %}
+
+{% block main_content %}
+ <div class="register">
+ {% if form.errors %}
+ <p class="error">{% trans "Sorry, that's not a valid username or password." %}</p>
+ {% endif %}
+ <form action="" method='post' id="login-form">
+ {% csrf_token %}
+ <input type="hidden" name="next" value="{% if next %}{{ next }}{% else %}{% url 'home' %}{% endif %}" />
+ {{form.as_p}}
+ <button class="button" type="submit" value="login">{% trans "login" %}</button>
+ </form>
+ <p> </p>
+ <p><a href="{% url 'registration_register' %}">{% trans "Still not a user ? Create an account" %}</a>
+ <p><a href="{% url 'auth_password_reset' %}">{% trans "Forgot password ?" %}</a>
+ </div>
+{% endblock %}
+
+
+