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