Finally got create.html working so that table of form is generated through a loop