fix(namespace): create page layout [EE-6385] (#10675)

pull/10680/head
Ali 1 year ago committed by GitHub
parent 936a71ee00
commit a4926e5237
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -27,7 +27,10 @@ export function CreateNamespaceView() {
<div className="form-horizontal"> <div className="form-horizontal">
<PageHeader <PageHeader
title="Create a namespace" title="Create a namespace"
breadcrumbs="Create a namespace" breadcrumbs={[
{ label: 'Namespaces', link: 'kubernetes.resourcePools' },
'Create a namespace',
]}
reload reload
/> />

@ -103,15 +103,13 @@ export function NamespaceInnerForm({
values={values} values={values}
isValid={isValid} isValid={isValid}
/> />
<FormSection title="Actions"> <FormActions
<FormActions submitLabel="Create namespace"
submitLabel="Create namespace" loadingText="Creating namespace"
loadingText="Creating namespace" isLoading={isSubmitting}
isLoading={isSubmitting} isValid={isValid}
isValid={isValid} data-cy="k8sNamespaceCreate-submitButton"
data-cy="k8sNamespaceCreate-submitButton" />
/>
</FormSection>
</Form> </Form>
); );
} }

Loading…
Cancel
Save