@formio-tmt/bootstrap
Version:
Bootstrap templates for Form.io forms
30 lines • 1.26 kB
JavaScript
export default function(ctx) {
var __t, __p = '', __j = Array.prototype.join;
function print() { __p += __j.call(arguments, '') }
__p += '<div class="' +
((__t = (ctx.className)) == null ? '' : __t) +
'">\n <div style="position: relative;">\n ';
if (ctx.wizardHeaderType === 'wizardHeaderVertical') { ;
__p += '\n <div class="row">\n <div class="col-sm-12 col-md-2">\n ' +
((__t = ( ctx.wizardHeader )) == null ? '' : __t) +
'\n </div>\n <div class="wizard-page col-sm-offset-1 col-md-offset-0 col-sm-10" ref="' +
((__t = (ctx.wizardKey)) == null ? '' : __t) +
'">\n ' +
((__t = (ctx.components)) == null ? '' : __t) +
'\n </div>\n </div>\n <div class="col-sm-offset-4 col-sm-7 col-md-offset-2 col-md-10" style="margin-top: 10px;">\n ' +
((__t = ( ctx.wizardNav )) == null ? '' : __t) +
'\n </div>\n ';
} else { ;
__p += ' \n ' +
((__t = ( ctx.wizardHeader )) == null ? '' : __t) +
'\n <div class="wizard-page" ref="' +
((__t = (ctx.wizardKey)) == null ? '' : __t) +
'">\n ' +
((__t = (ctx.components)) == null ? '' : __t) +
'\n </div>\n ' +
((__t = ( ctx.wizardNav )) == null ? '' : __t) +
'\n ';
} ;
__p += ' \n </div>\n</div>';
return __p
}