Change view-to-template. Rename itemPdf to _itemPdf