{% load i18n guardian_tags %}{% spaceless %} {% if user.is_authenticated %} {% get_obj_perms user for page_instance as "page_perms" %} {% endif %}