<formmethod="post"action="{{path('app_item_delete',{'id':item.id})}}"onsubmit="return confirm('Are you sure you want to delete this item?');"style="display:inline;">
<formmethod="post"action="{{path('app_item_delete',{'id':item.id})}}"onsubmit="return confirm('Are you sure you want to delete this item?');"style="display:inline;">