Naprawiony błąd layout-u.
[redakcja.git] / project / templates / registration / head_login.html
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>
4 {% else %}
5 <a href='{% url django.contrib.auth.views.login %}?next_page={{request.get_full_path}}'>Logowanie</a>
6 {% endif %}