{% load static core_tags %} {% if request.user.is_superuser and not folder_readonly %}{% api_token as export_api_key %}{% endif %} {% if export_caption %}