Template delete works