UNPKG

@formio-tmt/bootstrap

Version:

Bootstrap templates for Form.io forms

19 lines (18 loc) 679 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.default=function(ctx) { var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } ctx.component.components.forEach(function(tab, index) { ; __p += '\n <div class="panel panel-default">\n <div class="panel-heading">\n <h4 class="panel-title">' + ((__t = ( ctx.t(tab.label, { _userInput: true }) )) == null ? '' : __t) + '</h4>\n </div>\n <div class="panel-body" ref="' + ((__t = (ctx.tabKey)) == null ? '' : __t) + '">\n ' + ((__t = ( ctx.tabComponents[index] )) == null ? '' : __t) + '\n </div>\n </div>\n'; }) ; __p += '\n'; return __p }