Commit 0f1b6616 authored by Ben Waters's avatar Ben Waters

get rid of both lgoout and login at same time

parent 905396b9
......@@ -11,9 +11,11 @@
</ul>
<ul class="nav navbar-nav navbar-right">
{% if user.is_authenticated %}
<li><a href="{% url 'django.contrib.auth.views.logout' %}">Logout</a></li>
{% endif %}
<li><a href="{% url 'django.contrib.auth.views.logout' %}">Logout</a></li>
{% else %}
<li><a href="{% url 'django.contrib.auth.views.login' %}">Log In</a></li>
{% endif %}
</ul>
</div><!--/.nav-collapse -->
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment