Convert form layout to Cards