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 @@ ...@@ -11,9 +11,11 @@
</ul> </ul>
<ul class="nav navbar-nav navbar-right"> <ul class="nav navbar-nav navbar-right">
{% if user.is_authenticated %} {% if user.is_authenticated %}
<li><a href="{% url 'django.contrib.auth.views.logout' %}">Logout</a></li> <li><a href="{% url 'django.contrib.auth.views.logout' %}">Logout</a></li>
{% endif %} {% else %}
<li><a href="{% url 'django.contrib.auth.views.login' %}">Log In</a></li> <li><a href="{% url 'django.contrib.auth.views.login' %}">Log In</a></li>
{% endif %}
</ul> </ul>
</div><!--/.nav-collapse --> </div><!--/.nav-collapse -->
</div> </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