add view template for collection