Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/templates/bootstrap5/builder/form.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="formio builder row formbuilder">
<div class="col-xs-4 col-sm-3 col-md-2 formcomponents">
<div class="col-4 col-sm-3 col-md-2 formcomponents">
{{ctx.sidebar}}
</div>
<div class="col-xs-8 col-sm-9 col-md-10 formarea" ref="form">
<div class="col-8 col-sm-9 col-md-10 formarea" ref="form">
{{ctx.form}}
</div>
</div>
4 changes: 2 additions & 2 deletions src/templates/bootstrap5/builderWizard/form.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="formio builder row formbuilder">
<div class="col-xs-4 col-sm-3 col-md-2 formcomponents">
<div class="col-4 col-sm-3 col-md-2 formcomponents">
{{ctx.sidebar}}
</div>
<div class="col-xs-8 col-sm-9 col-md-10 formarea">
<div class="col-8 col-sm-9 col-md-10 formarea">
<ol class="breadcrumb wizard-pages">
{% ctx.pages.forEach(function(page, pageIndex) { %}
<li>
Expand Down
8 changes: 4 additions & 4 deletions src/templates/bootstrap5/day/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,31 @@
{% } %}
>
{% if (ctx.dayFirst && ctx.showDay) { %}
<div class="col col-xs-3">
<div class="col-3">
{% if (!ctx.component.hideInputLabels) { %}
<label for="{{ctx.component.key}}-day" class="{% if(ctx.component.fields.day.required) { %}field-required{% } %}">{{ctx.t('Day')}}</label>
{% } %}
<div>{{ctx.day}}</div>
</div>
{% } %}
{% if (ctx.showMonth) { %}
<div class="col col-xs-4">
<div class="col-4">
{% if (!ctx.component.hideInputLabels) { %}
<label for="{{ctx.component.key}}-month" class="{% if(ctx.component.fields.month.required) { %}field-required{% } %}">{{ctx.t('Month')}}</label>
{% } %}
<div>{{ctx.month}}</div>
</div>
{% } %}
{% if (!ctx.dayFirst && ctx.showDay) { %}
<div class="col col-xs-3">
<div class="col-3">
{% if (!ctx.component.hideInputLabels) { %}
<label for="{{ctx.component.key}}-day" class="{% if(ctx.component.fields.day.required) { %}field-required{% } %}">{{ctx.t('Day')}}</label>
{% } %}
<div>{{ctx.day}}</div>
</div>
{% } %}
{% if (ctx.showYear) { %}
<div class="col col-xs-5">
<div class="col-5">
{% if (!ctx.component.hideInputLabels) { %}
<label for="{{ctx.component.key}}-year" class="{% if(ctx.component.fields.year.required) { %}field-required{% } %}">{{ctx.t('Year')}}</label>
{% } %}
Expand Down
4 changes: 2 additions & 2 deletions src/templates/bootstrap5/pdfBuilder/form.ejs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<div class="formio builder row formbuilder">
<div class="col-xs-4 col-sm-3 col-md-2 formcomponents">
<div class="col-4 col-sm-3 col-md-2 formcomponents">
{{ctx.sidebar}}
</div>
<div class="col-xs-8 col-sm-9 col-md-10 formarea" ref="form">
<div class="col-8 col-sm-9 col-md-10 formarea" ref="form">
<div class="formio-drop-zone" ref="iframeDropzone"></div>
{{ctx.form}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/templates/bootstrap5/wizardHeaderClassic/form.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav aria-label="navigation" id="{{ ctx.wizardKey }}-header">
<div class="classic-pagination row justify-content-center" style="border-bottom:0;">
{% ctx.panels.forEach(function(panel, index) { %}
<div class="classic-pagination-page col-xs-12 col-sm-6 col-md-3
<div class="classic-pagination-page col-12 col-sm-6 col-md-3
{{ctx.currentPage < index ? ' disabled' : ''}}
{{ctx.currentPage === index ? ' active' : ''}}
{{ctx.currentPage > index ? ' complete' : ''}}">
Expand Down
2 changes: 1 addition & 1 deletion src/templates/bootstrap5/wizardHeaderVertical/form.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<nav aria-label="navigation" id="{{ ctx.wizardKey }}-header">
<ul class="pagination flex-column">
{% ctx.panels.forEach(function(panel, index) { %}
<li class="col-xs-12 page-item{{ctx.currentPage === index ? ' active' : ''}}" style="cursor: pointer;">
<li class="col-12 page-item{{ctx.currentPage === index ? ' active' : ''}}" style="cursor: pointer;">
<span class="page-link" ref="{{ctx.wizardKey}}-link" style="margin-left: 0px;">
{{ctx.t(panel.title, { _userInput: true })}}
{% if (panel.tooltip && ctx.currentPage === index) { %}
Expand Down