change '#book-template' to '#resource-template'