Insert table into template.