UNPKG

@opencitylabs/bootstrap-italia

Version:

Bootstrap Italia templates for Form.io forms

31 lines 751 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 += '<div\n '; for (var attr in ctx.attrs) { if(attr == "class"){ ctx.attrs[attr] += ' oc-alert'; } ; __p += '\n ' + ((__t = (attr)) == null ? '' : __t) + '="' + ((__t = (ctx.attrs[attr])) == null ? '' : __t) + '"\n '; } ; __p += '\n>\n ' + ((__t = (ctx.message)) == null ? '' : __t) + '\n'; if (ctx.options.vpat) { ; __p += '\n<span class="visually-hidden" id="hotkey-i-' + ((__t = (ctx.form._id)) == null ? '' : __t) + '">' + ((__t = (ctx.t('errorListHotkey'))) == null ? '' : __t) + '</span>\n'; } ; __p += '\n</div>\n\n'; return __p }