After playing around, I notice it has something to do with this line "<div data-sly-resource="${'footerpar' @ resourceType='wcm/foundation/components/parsys'}">". Once I remove the line (the parsys), the delete button is displayed.
I also tried to use
<div data-sly-resource="${@path='par',resourceType='wcm/foundation/components/parsys'}"></div>
It has the same result, the delete button is gone.
Does anyone know how to include a parsys in a component?
We are using AEM 6.3 and editable template.
Thanks.