view with a template