prepping markup for form and table