Form component for various form layouts