UNPKG

formsflow-theming

Version:

US Web Design System templates for form.io

25 lines 616 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 class="' + ((__t = (ctx.input.labelClass)) == null ? '' : __t) + '">\r\n ' + ((__t = (ctx.input.content)) == null ? '' : __t) + '\r\n '; if (!ctx.self.labelIsHidden()) { ; __p += '<span>' + ((__t = (ctx.input.label)) == null ? '' : __t) + '</span>'; } ; __p += '\r\n</label>\r\n<div ref="value">'; if (ctx.checked) { ; __p += 'True'; } else { ; __p += 'False'; } ; __p += '</div>\r\n'; return __p }