mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 19:10:07 -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:
commit
b6be8ca445
@ -9,7 +9,11 @@ import FormActionGroup from '@components/FormActionGroup/FormActionGroup';
|
||||
import AnsibleSelect from '@components/AnsibleSelect';
|
||||
import { required } from '@util/validators';
|
||||
import OrganizationLookup from '@components/Lookup/OrganizationLookup';
|
||||
import { FormColumnLayout, SubFormLayout } from '@components/FormLayout';
|
||||
import {
|
||||
FormColumnLayout,
|
||||
FormFullWidthLayout,
|
||||
SubFormLayout,
|
||||
} from '@components/FormLayout';
|
||||
import { ManualSubForm, SourceControlSubForm } from './CredentialSubForms';
|
||||
|
||||
function CredentialFormFields({
|
||||
@ -46,7 +50,7 @@ function CredentialFormFields({
|
||||
};
|
||||
|
||||
return (
|
||||
<>
|
||||
<FormFullWidthLayout>
|
||||
<FormField
|
||||
id="credential-name"
|
||||
label={i18n._(t`Name`)}
|
||||
@ -109,7 +113,7 @@ function CredentialFormFields({
|
||||
}
|
||||
</SubFormLayout>
|
||||
)}
|
||||
</>
|
||||
</FormFullWidthLayout>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user