mirror of
https://github.com/ansible/awx.git
synced 2026-02-15 02:00:01 -03:30
Added variable data fied to Host detail page. Save/edit work -made changes in the Hosts controller for this. Still need to validate text blob is valid JSON.
This commit is contained in:
@@ -32,16 +32,15 @@ angular.module('HostFormDefinition', [])
|
||||
type: 'hidden',
|
||||
includeOnEdit: true,
|
||||
includeOnAdd: true
|
||||
},
|
||||
variables: {
|
||||
label: 'Variables',
|
||||
type: 'textarea',
|
||||
addRequired: false,
|
||||
editRequird: false,
|
||||
rows: 10,
|
||||
class: 'span12'
|
||||
}
|
||||
// inventory: {
|
||||
// label: 'Inventory',
|
||||
// type: 'lookup',
|
||||
// sourceModel: 'inventory',
|
||||
// sourceField: 'name',
|
||||
// addRequired: true,
|
||||
// editRequired: true,
|
||||
// ngClick: 'lookUpInventory()'
|
||||
// }
|
||||
},
|
||||
|
||||
buttons: { //for now always generates <button> tags
|
||||
|
||||
Reference in New Issue
Block a user