UNPKG

@formio-tmt/bootstrap

Version:

Bootstrap templates for Form.io forms

14 lines 503 B
export default function(ctx) { var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '<tr ref="row">\n <td>\n ' + ((__t = (ctx.element)) == null ? '' : __t) + '\n </td>\n '; if (!ctx.disabled) { ; __p += '\n <td>\n <button type="button" class="btn btn-secondary" ref="removeRow">\n <i class="' + ((__t = (ctx.iconClass('remove-circle'))) == null ? '' : __t) + '"></i>\n </button>\n </td>\n '; } ; __p += '\n</tr>\n'; return __p }