delete edit and view templates