added delete views for pages and templates