form moved to a component