diff _test/Resources/view/layout/default.tt @ 351:cfd7570c2af2

working on TTView: created TTView class for rendering models
author cin
date Tue, 08 Oct 2013 17:40:35 +0400
parents f356c4894d1b
children
line wrap: on
line diff
--- a/_test/Resources/view/layout/default.tt	Mon Oct 07 17:35:54 2013 +0400
+++ b/_test/Resources/view/layout/default.tt	Tue Oct 08 17:40:35 2013 +0400
@@ -1,5 +1,14 @@
-[% render('header') %]
-[% render('menu') %]
-[% render('nav') %]
-$content
-[% render('footer') %]
\ No newline at end of file
+[%
+    document.dojo.modules = [];
+%]
+[%~ WRAPPER DOC%]
+    $content
+[% END %]
+
+[% BLOCK DOC %]
+    [%~ render('header') %]
+    [% render('menu') %]
+    [% render('nav') %]
+    $content
+    [% render('footer') %]
+[% END %]
\ No newline at end of file