{% if not has_permission('tag', 'update', instance) and not has_permission('tag', 'delete', instance) %} {% else %} [ {% include "tag/_action_edit.html" %} | {% include "tag/_action_delete.html" %} ] {% endif %}