How to format the layout of the form fields?