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:
chouseknecht
2013-05-21 12:57:15 -04:00
parent f5c487aab8
commit c238a85581
6 changed files with 87 additions and 29 deletions

View File

@@ -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