{% if writePermissions %}   {% if deletePermissions %} {% endif %} {% endif %}