using a template for the list view