Skip to content

Commit

Permalink
Merge pull request #104 from Zarganwar/master
Browse files Browse the repository at this point in the history
Variables wrapped into curly brackets due to future latte/latte 'User…
  • Loading branch information
hrach authored May 6, 2022
2 parents 1af9f2b + a20c27e commit 9091007
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 9091007

Please sign in to comment.