Add template file for grid view.