mirror of
https://github.com/ansible/awx.git
synced 2026-03-09 05:29:26 -02:30
fix saving inventory variables
This commit is contained in:
@@ -66,15 +66,14 @@ function(i18n) {
|
|||||||
dataContainer: 'body',
|
dataContainer: 'body',
|
||||||
control: '<instance-groups-multiselect instance-groups="instance_groups" field-is-disabled="!(inventory_obj.summary_fields.user_capabilities.edit || canAdd)"></instance-groups-multiselect>',
|
control: '<instance-groups-multiselect instance-groups="instance_groups" field-is-disabled="!(inventory_obj.summary_fields.user_capabilities.edit || canAdd)"></instance-groups-multiselect>',
|
||||||
},
|
},
|
||||||
inventory_variables: {
|
variables: {
|
||||||
// realName: 'variables',
|
root: 'variables',
|
||||||
root: 'inventory',
|
|
||||||
label: i18n._('Variables'),
|
label: i18n._('Variables'),
|
||||||
type: 'code_mirror',
|
type: 'code_mirror',
|
||||||
class: 'Form-formGroup--fullWidth',
|
class: 'Form-formGroup--fullWidth',
|
||||||
// rows: 6,
|
// rows: 6,
|
||||||
// "default": "---",
|
// "default": "---",
|
||||||
variables: 'inventory_variables',
|
variables: 'variables',
|
||||||
awPopOver: i18n._('Enter inventory variables using either JSON or YAML syntax. Use the radio button to toggle between the two. Refer to the Ansible Tower documentation for example syntax.'),
|
awPopOver: i18n._('Enter inventory variables using either JSON or YAML syntax. Use the radio button to toggle between the two. Refer to the Ansible Tower documentation for example syntax.'),
|
||||||
// dataTitle: i18n._('Variables'),
|
// dataTitle: i18n._('Variables'),
|
||||||
// dataPlacement: 'right',
|
// dataPlacement: 'right',
|
||||||
|
|||||||
Reference in New Issue
Block a user