Finally fixed issue with editing a credential. Need to call Owner change after loading data and after resetting form. Also removed default from Owner radio button on create and set to required so that user has to actively make a choice. Started working on Job Template detail changes. Job Template is currently broke.

This commit is contained in:
Chris Houseknecht
2013-11-02 19:37:52 +00:00
committed by Chris Church
parent 413a799829
commit 0466629718
6 changed files with 74 additions and 50 deletions

View File

@@ -72,7 +72,7 @@ angular.module('JobTemplateFormDefinition', [])
awRequiredWhen: {variable: "playbookrequired", init: "true" },
column: 1
},
credential: { // FIXME: Lookup only credentials with kind=ssh
credential: {
label: 'Credential',
type: 'lookup',
sourceModel: 'credential',
@@ -82,7 +82,7 @@ angular.module('JobTemplateFormDefinition', [])
editRequired: false,
column: 1
},
cloud_credential: { // FIXME: Lookup only credentials with kind=aws/rax
cloud_credential: {
label: 'Cloud Credential',
type: 'lookup',
sourceModel: 'cloud_credential',