diff --git a/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/instantiate/html.hbs b/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/instantiate/html.hbs index 52b0cfc60d..c96486dcdf 100644 --- a/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/instantiate/html.hbs +++ b/src/sunstone/public/app/tabs/oneflow-templates-tab/form-panels/instantiate/html.hbs @@ -26,7 +26,7 @@ - +
diff --git a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/html.hbs b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/html.hbs index 1e2dde834f..dce11f9fd0 100644 --- a/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/html.hbs +++ b/src/sunstone/public/app/tabs/templates-tab/form-panels/instantiate/html.hbs @@ -50,7 +50,7 @@ {{tr "Number of Virtual Machines that will be created using this template"}}. - +
diff --git a/src/sunstone/public/app/utils/user-inputs.js b/src/sunstone/public/app/utils/user-inputs.js index e68a5e9a76..212bbc37ce 100644 --- a/src/sunstone/public/app/utils/user-inputs.js +++ b/src/sunstone/public/app/utils/user-inputs.js @@ -184,6 +184,10 @@ define(function(require) { // opts.network_header: header text for the network inputs // returns true if at least one input was inserted function _generateServiceTemplateUserInputs(div, template_json, opts) { + if(opts == undefined){ + opts = {}; + } + opts.div = div; opts.user_inputs = template_json.DOCUMENT.TEMPLATE.BODY.custom_attrs;