Skip to content

Commit

Permalink
Templates: fix empty closing tag {/} is deprecated (#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gappa authored Feb 9, 2022
1 parent 4743ff8 commit 1b39cdf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/templates/datagrid.latte
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@
</thead>

{block tbody}
<tbody n:snippet="tbody" {if $control->isSortable()}data-sortable data-sortable-url="{plink $control->getSortableHandler()}" data-sortable-parent-path="{$control->getSortableParentPath()}"{/}>
<tbody n:snippet="tbody" {if $control->isSortable()}data-sortable data-sortable-url="{plink $control->getSortableHandler()}" data-sortable-parent-path="{$control->getSortableParentPath()}"{/if}>
{snippetArea items}
{if $inlineAdd && $inlineAdd->isPositionTop()}
{include inlineAddRow, columns => $columns}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/datagrid_tree.latte
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
</div>
</div>
</div>
<div class="datagrid-tree-item-children" {if $control->isSortable()}data-sortable-tree data-sortable-url="{plink $control->getSortableHandler()}"{/}></div>
<div class="datagrid-tree-item-children" {if $control->isSortable()}data-sortable-tree data-sortable-url="{plink $control->getSortableHandler()}"{/if}></div>
</div>
{/foreach}
{if !$rows}
Expand Down

0 comments on commit 1b39cdf

Please sign in to comment.