Help with create/edit form for dynamic objects

I have a table called 'cars'.

id name