mirror of
https://github.com/ansible/awx.git
synced 2026-03-07 19:51:08 -03:30
Merge pull request #6212 from marshmalien/6210-fix-cred-form-button-layout
Fix credential form action button layout Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
@@ -9,7 +9,11 @@ import FormActionGroup from '@components/FormActionGroup/FormActionGroup';
|
|||||||
import AnsibleSelect from '@components/AnsibleSelect';
|
import AnsibleSelect from '@components/AnsibleSelect';
|
||||||
import { required } from '@util/validators';
|
import { required } from '@util/validators';
|
||||||
import OrganizationLookup from '@components/Lookup/OrganizationLookup';
|
import OrganizationLookup from '@components/Lookup/OrganizationLookup';
|
||||||
import { FormColumnLayout, SubFormLayout } from '@components/FormLayout';
|
import {
|
||||||
|
FormColumnLayout,
|
||||||
|
FormFullWidthLayout,
|
||||||
|
SubFormLayout,
|
||||||
|
} from '@components/FormLayout';
|
||||||
import { ManualSubForm, SourceControlSubForm } from './CredentialSubForms';
|
import { ManualSubForm, SourceControlSubForm } from './CredentialSubForms';
|
||||||
|
|
||||||
function CredentialFormFields({
|
function CredentialFormFields({
|
||||||
@@ -46,7 +50,7 @@ function CredentialFormFields({
|
|||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<FormFullWidthLayout>
|
||||||
<FormField
|
<FormField
|
||||||
id="credential-name"
|
id="credential-name"
|
||||||
label={i18n._(t`Name`)}
|
label={i18n._(t`Name`)}
|
||||||
@@ -109,7 +113,7 @@ function CredentialFormFields({
|
|||||||
}
|
}
|
||||||
</SubFormLayout>
|
</SubFormLayout>
|
||||||
)}
|
)}
|
||||||
</>
|
</FormFullWidthLayout>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user