{# admin block #} {% if request.user.is_authenticated and request.user.is_staff %}
Admin bar

Only you will see this bar - normal users will not see it. It allows us to include buttons for adding new resources, etc.

Add a new resource
Logged in as {{ request.user.email }}
{% csrf_token %}
{% endif %}