add liner template to view