adding html to templates for row and table.