Skip to content

Commit

Permalink
Variables wrapped into curly brackets due to future latte/latte 'User…
Browse files Browse the repository at this point in the history
… Deprecated' construct
  • Loading branch information
Zarganwar committed May 6, 2022
1 parent 4c4f4b8 commit a20c27e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Datagrid.blocks.latte
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
{var $cell = $control->getter($row, $column->name, FALSE)}
{if $editRow && $column->name != $rowPrimaryKey && (isset($form['edit'][$column->name]) || isset($this->blockQueue["cell-edit-{$column->name}"]))}
<td class="grid-col-{$column->name}">
{ifset #cell-edit-$column->name}
{ifset #cell-edit-{$column->name}}
{include #"cell-edit-{$column->name}" form => $form, column => $column, row => $row}
{else}
{formContainer edit}
Expand All @@ -141,11 +141,11 @@
{/ifset}
</td>
{else}
{ifset #col-$column->name}
{ifset #col-{$column->name}}
{include #"col-{$column->name}" row => $row, cell => $cell, iterator => $iterator}
{else}
<td class="grid-col-{$column->name}">
{ifset #cell-$column->name}
{ifset #cell-{$column->name}}
{include #"cell-{$column->name}" row => $row, cell => $cell, iterator => $iterator}
{else}
{$cell}
Expand Down

0 comments on commit a20c27e

Please sign in to comment.