create view templates