-const CollectionEditFields = () => <span>
- <CollectionNameField />
- <CollectionDescriptionField />
- <FormLabel>Properties</FormLabel>
- <FormGroup>
- <UpdateCollectionPropertiesForm />
- <UpdateCollectionPropertiesList />
- </FormGroup>
- <CollectionStorageClassesField />
-</span>;
+const UpdateCollectionPropertiesList = resourcePropertiesList(COLLECTION_UPDATE_FORM_NAME);
+
+const CollectionEditFields = withStyles(styles)(
+ ({ classes }: WithStyles<CssRules>) => <span>
+ <CollectionNameField />
+ <CollectionDescriptionField />
+ <div className={classes.propertiesForm}>
+ <FormLabel>Properties</FormLabel>
+ <FormGroup>
+ <UpdateCollectionPropertiesForm />
+ <UpdateCollectionPropertiesList />
+ </FormGroup>
+ </div>
+ <CollectionStorageClassesField />
+ </span>);