base view template