view action and view template