New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latte\CompileException in paginator when Latte is in strict mode #1100
Comments
I can prepare pull request with this fix, are you ok with that @f3l1x {capture $firstButton}
<i n:block = "icon-arrow-left" class="{$iconPrefix}arrow-left"></i> {='ublaboo_datagrid.previous'|translate}
{/capture}
{if $paginator->isFirst()}
<a class="first btn btn-sm {$btnSecondaryClass} disabled">{$firstButton}</a>
{else}
<a class="btn btn-sm {$btnSecondaryClass} ajax" href="{$link('page!', ['page' => $paginator->page - 1])}" rel="prev">{$firstButton}</a>
{/if} |
there is link to original file : https://github.com/contributte/datagrid/blob/master/src/Components/DatagridPaginator/templates/data_grid_paginator.latte |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: