template for list and single view edited