1 {% if user.is_authenticated %}
2 <span class="user_name">{{ user.get_full_name }}</span> |
3 <a href='{% url django.contrib.auth.views.logout %}?next_page={{request.get_full_path}}'>Wyloguj</a>
5 <a href='{% url django.contrib.auth.views.login %}?next_page={{request.get_full_path}}'>Logowanie</a>