Merge branch 'master' into 14565-admin-managing-user
[arvados-workbench2.git] / src / views-components / dialog-create / dialog-project-create.tsx
index 8c1d3800a0e1b275d9a12a3d02bfe2cf87828b1d..02fb67e5f202c8b70b96c1bb59f76587998edf40 100644 (file)
@@ -8,12 +8,14 @@ import { WithDialogProps } from '~/store/dialog/with-dialog';
 import { ProjectCreateFormDialogData } from '~/store/projects/project-create-actions';
 import { FormDialog } from '~/components/form-dialog/form-dialog';
 import { ProjectNameField, ProjectDescriptionField } from '~/views-components/form-fields/project-form-fields';
+import { CreateProjectPropertiesForm } from '~/views-components/project-properties/create-project-properties-form';
+import { CreateProjectPropertiesList } from '~/views-components/project-properties/create-project-properties-list';
 
-type DialogCollectionProps = WithDialogProps<{}> & InjectedFormProps<ProjectCreateFormDialogData>;
+type DialogProjectProps = WithDialogProps<{}> & InjectedFormProps<ProjectCreateFormDialogData>;
 
-export const DialogProjectCreate = (props: DialogCollectionProps) =>
+export const DialogProjectCreate = (props: DialogProjectProps) =>
     <FormDialog
-        dialogTitle='Create a project'
+        dialogTitle='New project'
         formFields={ProjectAddFields}
         submitLabel='Create a Project'
         {...props}
@@ -22,4 +24,6 @@ export const DialogProjectCreate = (props: DialogCollectionProps) =>
 const ProjectAddFields = () => <span>
     <ProjectNameField />
     <ProjectDescriptionField />
+    <CreateProjectPropertiesForm />
+    <CreateProjectPropertiesList />
 </span>;