Added template to view