UNPKG

@formio-tmt/bootstrap

Version:

Bootstrap templates for Form.io forms

29 lines 868 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.default=function(ctx) { var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '<label\n class="control-label ' + ((__t = (ctx.label.className)) == null ? '' : __t) + '"\n for="' + ((__t = (ctx.instance.id)) == null ? '' : __t) + '-' + ((__t = (ctx.component.key)) == null ? '' : __t) + '"\n>\n '; if (!ctx.label.hidden) { ; __p += '\n ' + ((__t = ( ctx.t(ctx.component.label, { _userInput: true }) )) == null ? '' : __t) + '\n '; if (ctx.component.tooltip) { ; __p += '\n <i ref="tooltip" class="' + ((__t = (ctx.iconClass('question-sign'))) == null ? '' : __t) + ' text-muted" data-tooltip="' + ((__t = (ctx.component.tooltip)) == null ? '' : __t) + '"></i>\n '; } ; __p += '\n '; } ; __p += '\n</label>\n'; return __p }