--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/web/ldt/user/templates/registration/login.html Tue Jun 08 01:16:35 2010 +0200
@@ -0,0 +1,35 @@
+{% extends "registration/base.html" %}
+{% load i18n %}
+{% block js_declaration %}{{ block.super }}
+ <script type="text/javascript">
+ $(document).ready(function() {
+ $("#login-form").validate();
+ });
+ </script>
+{% endblock %}
+
+{% block login %}
+{% endblock %}
+
+{% block content_title %}{% trans 'Log in' %}{% endblock %}
+{% block iricontent %}
+ {% 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="{% url ldt.user.views.profile%}" />
+ <ul id="login_fields_list">
+ {{form.as_ul}}
+ <li><input class="button"type="submit" value="{% trans "login" %}" /></li>
+ </ul>
+ </form>
+ <ul id="login_links_list">
+ <li><a href="{% url registration.views.register %}" >{% trans "Create an account" %}</a></li>
+ <li><a href="{% url django.contrib.auth.views.password_reset %}" >{% trans "Forget password?" %}</a></li>
+ </ul>
+{% endblock %}
+
+
+