{% load i18n obj_perms cyclope_utils %} {% per_category_perms current_object as cat_perms %} {% if cat_perms.edit_content %} {% trans "Edit" %} {% trans "Delete" %} {% endif %}