Set view template