IO-1728 Set cc create form to be vertical.

This commit is contained in:
Patrick Fic
2022-03-03 08:37:21 -08:00
parent f8151e387e
commit c1068ec92b

View File

@@ -70,7 +70,12 @@ export function CourtesyCarCreateContainer({
return ( return (
<RbacWrapper action="courtesycar:create"> <RbacWrapper action="courtesycar:create">
<Form form={form} autoComplete="new-password" onFinish={handleFinish}> <Form
form={form}
autoComplete="new-password"
onFinish={handleFinish}
layout="vertical"
>
<CourtesyCarFormComponent form={form} saveLoading={loading} /> <CourtesyCarFormComponent form={form} saveLoading={loading} />
</Form> </Form>
</RbacWrapper> </RbacWrapper>