template view