@formio-tmt/bootstrap
Version:
Bootstrap templates for Form.io forms
13 lines • 323 B
JavaScript
export default function(ctx) {
var __t, __p = '';
__p += '<div id="e-' +
((__t = (ctx.instance.id)) == null ? '' : __t) +
'-' +
((__t = (ctx.key)) == null ? '' : __t) +
'" class="form-text ' +
((__t = (ctx.level || 'error')) == null ? '' : __t) +
'">' +
((__t = (ctx.message)) == null ? '' : __t) +
'</div>\n';
return __p
}