inserting the wrapping form element before building the inputs