diff --git a/Grido/Grid.latte b/Grido/Grid.latte index c4ee3c52..23609b96 100755 --- a/Grido/Grid.latte +++ b/Grido/Grid.latte @@ -72,14 +72,14 @@ {/if} {block table} -{!$control->getTablePrototype()->startTag()} +{$control->getTablePrototype()->startTag()|noescape} {foreach $columns as $column} - {!$column->getHeaderPrototype()->startTag()} + {$column->getHeaderPrototype()->startTag()|noescape} {if $column->isSortable()} {_$column->getLabel()} {_$column->getLabel()} @@ -88,7 +88,7 @@ {else} {_$column->getLabel()} {/if} - {!$column->getHeaderPrototype()->endTag()} + {$column->getHeaderPrototype()->endTag()|noescape} {/foreach} {_'Actions'} @@ -97,11 +97,11 @@ {foreach $columns as $column} {if $column->hasFilter()} - {!$control->getFilter($column->getName())->getWrapperPrototype()->startTag()} + {$control->getFilter($column->getName())->getWrapperPrototype()->startTag()|noescape} {formContainer filters} {input $column->getName()} {/formContainer} - {!$control->getFilter($column->getName())->getWrapperPrototype()->endTag()} + {$control->getFilter($column->getName())->getWrapperPrototype()->endTag()|noescape} {elseif $column->headerPrototype->rowspan != 2}   {/if} @@ -167,19 +167,19 @@ ? 'selected' : NULL; } - {!$tr->startTag()} + {$tr->startTag()|noescape} {$checkbox->getControl()} {foreach $columns as $column} {?$td = $column->getCellPrototype($row)} - {!$td->startTag()} + {$td->startTag()|noescape} {if is_string($column->getCustomRender())} {include $column->getCustomRender() control => $control, presenter => $control->getPresenter(), item => $row} {else} - {!$column->render($row)} + {$column->render($row)|noescape} {/if} - {!$td->endTag()} + {$td->endTag()|noescape} {/foreach} {foreach $actions as $action} @@ -189,11 +189,11 @@   {/if} - {!$tr->endTag()} + {$tr->endTag()|noescape} {/foreach} {_'No results.'} -{!$control->getTablePrototype()->endTag()} +{$control->getTablePrototype()->endTag()|noescape} {/block} {/form} {/snippet}