Commit f1cfbe78 authored by Jerome Mariette's avatar Jerome Mariette
Browse files

multiple single with smallcombobox

parent c3240cc0
......@@ -581,11 +581,11 @@ jQuery.validator.addMethod("mparam", function(value, element, params) {
'{{else param.type.indexOf("inputfile") === 0}}',
' <div class="input-group">',
' <div class="input-group-btn">',
' {{if param.action == "append"}}',
' <button type="button" style="padding-top:23px; padding-bottom:22px;" class="btn btn-default dropdown-toggle" data-toggle="dropdown">',
' {{else}}',
// ' {{if param.action == "append"}}',
// ' <button type="button" style="padding-top:23px; padding-bottom:22px;" class="btn btn-default dropdown-toggle" data-toggle="dropdown">',
// ' {{else}}',
' <button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">',
' {{/if}}',
// ' {{/if}}',
' <span id="inputfile_${param.name}">server file</span>',
' <span class="caret"></span>',
' </button>',
......@@ -604,11 +604,11 @@ jQuery.validator.addMethod("mparam", function(value, element, params) {
' <input id="${param.name}" name="${param.name}" class="form-control ${param.group}" type="text" value="${param.default}">',
' {{/if}}',
' <span class="input-group-btn">',
' {{if param.action == "append"}}',
' <button id="urlfile_btn_${param.name}" style="display: none; padding-top:23px; padding-bottom:22px;" class="btn btn-default" type="button"><span class="glyphicon glyphicon-folder-open"></span></button>',
' {{else}}',
// ' {{if param.action == "append"}}',
// ' <button id="urlfile_btn_${param.name}" style="display: none; padding-top:23px; padding-bottom:22px;" class="btn btn-default" type="button"><span class="glyphicon glyphicon-folder-open"></span></button>',
// ' {{else}}',
' <button id="urlfile_btn_${param.name}" style="display: none;" class="btn btn-default" type="button"><span class="glyphicon glyphicon-folder-open"></span></button>',
' {{/if}}',
// ' {{/if}}',
' </span>',
' </div>',
// if param is a browsefile
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment