comparison _test/Resources/view/site/product/view.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 [% document.title = PageTitle %]
1 <h1> $PageTitle </h1> 2 <h1> $PageTitle </h1>
2 <div>name: [% display('name') %]</div> 3 <div>name: [% display('name') %]</div>
3 <div>description: [% display(model) %]</div> 4 <div>description: [% display(model) %]</div>