UNPKG

formiojs

Version:

Common js library for client side interaction with <form.io>

8 lines (7 loc) 798 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = { form: "\n{% if (!label.hidden && label.labelPosition !== 'bottom') { %}\n <label \n class=\"{{label.className}}\" \n style=\"{{label.style}}\"\n >\n {{t(component.label)}}\n {% if (component.tooltip) { %} <i ref=\"tooltip\" class=\"{{label.tooltipClass}}\"></i>{% } %}\n </label>\n{% } %}\n{{element}}\n{% if (!label.hidden && label.labelPosition === 'bottom') { %}\n <label class=\"{{label.className}}\" style=\"{{label.style}}\">{{t(component.label)}}\n {% if (component.tooltip) { %}\n <i class=\"{{label.tooltipClass}}\"></i>\n {% } %}\n </label>\n{% } %}\n{% if (component.description) { %}\n <div class=\"help-block\">{{t(component.description)}}</div>\n{% } %}\n" };