view with template