links now working

This commit is contained in:
Arne Schauf 2013-09-29 16:21:23 +02:00
parent 1abe15e9ab
commit 41a4a2b357

View File

@ -1,7 +1,5 @@
{% extends "registration/registration_base.html" %}
{% load i18n %}{% load bootstrap %}
{% url 'auth_password_reset' as auth_pwd_reset_url %}
{% url 'registration_register' as register_url%}
{% block title %}{% trans "Login" %}{% endblock %}
{% block content %}
@ -13,10 +11,10 @@
<form method="post" action="{% url 'auth_login' %}">
{% csrf_token %}
{{ form|bootstrap }}
<p>{% blocktrans %}<a href="{{ auth_pwd_reset_url }}">Forgot</a> your password?
<a href="{{ register_url }}">Need an account</a>?{% endblocktrans %}</p>
<p><a href="{% url 'auth_password_reset' %}">Forgot</a> your password?
<a href="{% url 'registration_register' %}">Need an account</a>?</p>
<button type="submit" class="btn btn-primary">{% trans "login" %}</button>
<button type="submit" class="btn btn-primary">login</button>
<input type="hidden" name="next" value="{{ next }}" />
</form>
</div>