comparison _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
comparison
equal deleted inserted replaced
350:f356c4894d1b 351:cfd7570c2af2
1 [% FOR item IN model %] 1 [% FOR item IN model %]
2 <div>$item.key : [% display(item.key) %]</div> 2 <div>$item.key : [% display_model(item.value, rel = item.key) %]</div>
3 [% END %] 3 [% END %]