How to create form with tabular data?