Mercurial > pub > Impl
diff _test/Resources/view/packages/templates/ARRAY.tt @ 351:cfd7570c2af2
working on TTView: created TTView class for rendering models
author | cin |
---|---|
date | Tue, 08 Oct 2013 17:40:35 +0400 |
parents | 86b470004d47 |
children |
line wrap: on
line diff
--- a/_test/Resources/view/packages/templates/ARRAY.tt Mon Oct 07 17:35:54 2013 +0400 +++ b/_test/Resources/view/packages/templates/ARRAY.tt Tue Oct 08 17:40:35 2013 +0400 @@ -1,3 +1,3 @@ [% FOR item IN model %] - * ${loop.index}. [% display(item, { _no_resolve => 1, prefix => "$prefix[$loop.index]"}) %] + * ${loop.index}. [% display_model(item, prefix = "$prefix[$loop.index]") %] [% END %] \ No newline at end of file