Adding organization: add inputs helper text

This commit is contained in:
Keith Grant
2019-03-11 14:41:46 -04:00
parent a3bea6d4a8
commit ecb7306c46

View File

@@ -135,7 +135,7 @@ class OrganizationAdd extends React.Component {
onChange={this.onFieldChange} onChange={this.onFieldChange}
/> />
</FormGroup> </FormGroup>
<FormGroup label={i18n._(t`Instance Groups`)} fieldId="add-org-form-instance-groups"> <FormGroup label={i18n._(t`Instance Groups`)} helperText={i18n._(t`Select the Instance Groups for this Organization to run on.`)} fieldId="add-org-form-instance-groups">
<Lookup <Lookup
lookupHeader={i18n._(t`Instance Groups`)} lookupHeader={i18n._(t`Instance Groups`)}
name="instanceGroups" name="instanceGroups"
@@ -149,7 +149,7 @@ class OrganizationAdd extends React.Component {
<ConfigContext.Consumer> <ConfigContext.Consumer>
{({ custom_virtualenvs }) => ( {({ custom_virtualenvs }) => (
custom_virtualenvs && custom_virtualenvs.length > 1 && ( custom_virtualenvs && custom_virtualenvs.length > 1 && (
<FormGroup label={i18n._(t`Ansible Environment`)} fieldId="add-org-custom-virtualenv"> <FormGroup label={i18n._(t`Ansible Environment`)} helperText={i18n._(t`Select the custom Python virtual environment for this organization to run on.`)} fieldId="add-org-custom-virtualenv">
<AnsibleSelect <AnsibleSelect
label={i18n._(t`Ansible Environment`)} label={i18n._(t`Ansible Environment`)}
name="custom_virtualenv" name="custom_virtualenv"