added styles to form generation