Mercurial > pub > Impl
comparison _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 |
comparison
equal
deleted
inserted
replaced
350:f356c4894d1b | 351:cfd7570c2af2 |
---|---|
1 [% FOR item IN model %] | 1 [% FOR item IN model %] |
2 * ${loop.index}. [% display(item, { _no_resolve => 1, prefix => "$prefix[$loop.index]"}) %] | 2 * ${loop.index}. [% display_model(item, prefix = "$prefix[$loop.index]") %] |
3 [% END %] | 3 [% END %] |