Skip to content

Commit

Permalink
Add snippet for Toolbar buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
jiriermis authored and f3l1x committed Nov 24, 2021
1 parent 6564284 commit c65168c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/datagrid.latte
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
{/if}

<div class="datagrid-toolbar" n:if="$control->canHideColumns() || $inlineAdd || $exports || $toolbarButtons">
<span n:if="$toolbarButtons">
<span n:if="$toolbarButtons" n:snippet="toolbar">
{foreach $toolbarButtons as $toolbar_button}{$toolbar_button->renderButton()}{/foreach}
</span>

Expand Down

0 comments on commit c65168c

Please sign in to comment.