view template