register template view