Table display template updated

The table layout display template has been updated to support multiple
instances on a page.