UNPKG

formsflow-theming

Version:

US Web Design System templates for form.io

18 lines 593 B
Object.defineProperty(exports, "__esModule", { value: true }); exports.default=function(ctx) { var __t, __p = ''; __p += '<div id="' + ((__t = (ctx.attrs.id)) == null ? '' : __t) + '" class="formsflow-alert formsflow-alert--' + ((__t = (ctx.type === 'danger' ? 'error' : ctx.type)) == null ? '' : __t) + ' formsflow-alert--no-icon">\r\n ' + ((__t = (ctx.message)) == null ? '' : __t) + '\r\n <span class="formsflow-sr-only" id="hotkey-i-' + ((__t = (ctx.form._id)) == null ? '' : __t) + '">' + ((__t = (ctx.t('errorListHotkey'))) == null ? '' : __t) + '</span>\r\n</div>\r\n'; return __p }