mirror of
https://github.com/ansible/awx.git
synced 2026-01-20 14:11:24 -03:30
Fixes HostAdd Form layout issue
This commit is contained in:
parent
3045511401
commit
0eb526919f
@ -3,6 +3,7 @@ import { useHistory } from 'react-router-dom';
|
||||
import { CardBody } from '@components/Card';
|
||||
import HostForm from '@components/HostForm';
|
||||
import { HostsAPI } from '@api';
|
||||
import { PageSection, Card } from '@patternfly/react-core';
|
||||
|
||||
function HostAdd() {
|
||||
const [formError, setFormError] = useState(null);
|
||||
@ -22,13 +23,17 @@ function HostAdd() {
|
||||
};
|
||||
|
||||
return (
|
||||
<CardBody>
|
||||
<HostForm
|
||||
handleSubmit={handleSubmit}
|
||||
handleCancel={handleCancel}
|
||||
submitError={formError}
|
||||
/>
|
||||
</CardBody>
|
||||
<PageSection>
|
||||
<Card>
|
||||
<CardBody>
|
||||
<HostForm
|
||||
handleSubmit={handleSubmit}
|
||||
handleCancel={handleCancel}
|
||||
submitError={formError}
|
||||
/>
|
||||
</CardBody>
|
||||
</Card>
|
||||
</PageSection>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user