Create view template