mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
parent
19396e3864
commit
e729241903
@ -364,7 +364,6 @@ define(function(require) {
|
||||
if(opts.defaults.INPUTS_ORDER){
|
||||
var order = opts.defaults.INPUTS_ORDER;
|
||||
var orderJSON = order.split(",");
|
||||
|
||||
$.each(orderJSON, function(key, value){
|
||||
var orderValue = value;
|
||||
$.each(input_attrs, function(index, custom_attr) {
|
||||
@ -381,6 +380,18 @@ define(function(require) {
|
||||
}
|
||||
});
|
||||
});
|
||||
} else {
|
||||
$.each(input_attrs, function(index, custom_attr) {
|
||||
$(".instantiate_user_inputs", div).append(
|
||||
'<div class="row">' +
|
||||
'<div class="large-12 large-centered columns">' +
|
||||
'<label>' +
|
||||
TemplateUtils.htmlEncode(custom_attr.description) +
|
||||
_attributeInput(custom_attr) +
|
||||
'</label>' +
|
||||
'</div>' +
|
||||
'</div>');
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user