From d0187f6460c35ef3aa4118ab94790f7aa03fb529 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn?= Date: Fri, 28 Aug 2015 15:55:30 +0200 Subject: [PATCH] Bug #3956: Fix vm template instantiate with user inputs --- .../templates-tab/form-panels/instantiate.js | 52 +++++++++++-------- 1 file changed, 30 insertions(+), 22 deletions(-) diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js index 3e3bd6fe5c..471fab62ed 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate.js @@ -163,32 +163,40 @@ define(function(require) { template_json.VMTEMPLATE.NAME + '' + ''+ - '
' + - '
'+ - '
'+ - '

'+ - ''+ - ' '+ - Locale.tr("Capacity")+ - ''+ - '
'+ - '

'+ + '
'+ + '
' + + '
'+ + '
'+ + '

'+ + ''+ + ' '+ + Locale.tr("Capacity")+ + ''+ + '
'+ + '

'+ + '
'+ '
'+ - '
'+ - '
'+ - '
'+ - CapacityInputs.html() + - '
' + + '
'+ + '
'+ + CapacityInputs.html() + + '
' + + '
'+ '
'+ - '
'+ + '
' + '
' + - '
' + - '
'+ - '
' + + '
'+ + '
' + + '
' + + '
'+ + '
'+ + '
' + + '
' + + '
' + + '
' + + '
'+ + '
'+ '
' + - '
' + - '
'+ - '
'); + '
'); DisksResize.insert(template_json, $(".disksContext" + template_json.VMTEMPLATE.ID, context)); NicsSection.insert(template_json, $(".nicsContext" + template_json.VMTEMPLATE.ID, context));