registration link in nav

This commit is contained in:
Arne Schauf 2013-09-29 16:39:03 +02:00
parent d7e02ed95c
commit 9d6fd1afe3

View File

@ -34,6 +34,7 @@
</ul>
<ul class="nav navbar-nav pull-right">
{% if not request.user.is_authenticated %}
<li{% if nav_register %} class="active"{% endif %}><a href="{% url 'registration_register' %}">Register</a></li>
<li{% if nav_login %} class="active"{% endif %}><a href="{% url 'auth_login' %}">Login</a></li>
{% else %}
<li class="dropdown">