UNPKG

@formio-tmt/bootstrap

Version:

Bootstrap templates for Form.io forms

16 lines 634 B
export default function(ctx) { var __t, __p = '', __j = Array.prototype.join; function print() { __p += __j.call(arguments, '') } __p += '<table class="table table-bordered">\n <tbody>\n ' + ((__t = (ctx.rows)) == null ? '' : __t) + '\n '; if (!ctx.disabled) { ; __p += '\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-another" ref="addButton"><i class="' + ((__t = (ctx.iconClass('plus'))) == null ? '' : __t) + '"></i> ' + ((__t = (ctx.t(ctx.addAnother, { _userInput: true }))) == null ? '' : __t) + '</button>\n </td>\n </tr>\n '; } ; __p += '\n </tbody>\n</table>\n'; return __p }