{% load i18n %} {% if user.is_authenticated and entry.can_delete %} {% if user.is_superuser or settings.allow_users_to_delete_posts %}
{% endif %} {% endif %}