Skip to content

Commit

Permalink
FIO-8303: fixed data grid templates
Browse files Browse the repository at this point in the history
  • Loading branch information
roma-formio committed May 14, 2024
1 parent 6c8c037 commit 3dde49a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/templates/bootstrap4/datagrid/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{% } %}
<tr ref="{{ctx.datagridKey}}-row">
{% if (ctx.component.reorder) { %}
<td class="col-md-1">
<td class="col-1">
<button type="button" class="formio-drag-button btn btn-default fa fa-bars" data-key="{{ctx.datagridKey}}"></button>
</td>
{% } %}
Expand All @@ -49,7 +49,7 @@
{% }) %}
{% if (ctx.hasExtraColumn) { %}
{% if (ctx.hasRemoveButtons) { %}
<td class="col-md-1">
<td class="col-1">
<button type="button" class="btn btn-secondary formio-button-remove-row" ref="{{ctx.datagridKey}}-removeRow" tabindex="{{ctx.tabIndex}}" aria-label="{{ctx.t('remove')}}">
<i class="{{ctx.iconClass('remove-circle')}}"></i>
</button>
Expand Down
4 changes: 2 additions & 2 deletions src/templates/bootstrap5/datagrid/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{% } %}
<tr ref="{{ctx.datagridKey}}-row">
{% if (ctx.component.reorder) { %}
<td>
<td class="col-1">
<button type="button" class="formio-drag-button btn btn-default bi bi-list" data-key="{{ctx.datagridKey}}"></button>
</td>
{% } %}
Expand All @@ -49,7 +49,7 @@
{% }) %}
{% if (ctx.hasExtraColumn) { %}
{% if (ctx.hasRemoveButtons) { %}
<td>
<td class="col-1">
<button type="button" class="btn btn-secondary formio-button-remove-row" ref="{{ctx.datagridKey}}-removeRow" tabindex="{{ctx.tabIndex}}" aria-label="{{ctx.t('remove')}}">
<i class="{{ctx.iconClass('remove-circle')}}"></i>
</button>
Expand Down

0 comments on commit 3dde49a

Please sign in to comment.