changed azure labels and added them into inventory groups modal window

This commit is contained in:
Jared Tabor
2014-07-28 17:06:30 -04:00
parent 0f5263c027
commit 504b810418
6 changed files with 67 additions and 6 deletions

View File

@@ -138,7 +138,7 @@ angular.module('CredentialFormDefinition', [])
labelBind: 'usernameLabel',
type: 'text',
ngShow: "kind.value && kind.value !== 'aws' && " +
"kind.value !== 'gce'",
"kind.value !== 'gce' && kind.value!=='azure'",
awRequiredWhen: {
variable: 'aws_required',
init: false
@@ -155,6 +155,18 @@ angular.module('CredentialFormDefinition', [])
},
autocomplete: false
},
"subscription_id": {
labelBind: "usernameLabel",
type: 'text',
ngShow: "kind.value == 'azure'",
awRequiredWhen: {
variable: 'subscription_required',
init: false
},
addRequired: false,
editRequired: false,
autocomplete: false
},
"api_key": {
label: 'API Key',
type: 'password',
@@ -289,6 +301,7 @@ angular.module('CredentialFormDefinition', [])
editRequired: false,
autocomplete: false
},
"vault_password": {
label: "Vault Password",
type: 'password',