wrap inputs into forms