Put the wrapper class onto the form.inputs call, instead of wrapping it, so it keeps the same HTML structure as before.