diff _test/Resources/TTView/simple.tt @ 185:ae8072f2f2a3

IMPL::Web::View::TTDocument tests, fixes
author cin
date Thu, 29 Mar 2012 18:22:15 +0400
parents 7525ea9a071a
children 029c9610528c
line wrap: on
line diff
--- a/_test/Resources/TTView/simple.tt	Thu Mar 29 01:54:20 2012 +0400
+++ b/_test/Resources/TTView/simple.tt	Thu Mar 29 18:22:15 2012 +0400
@@ -1,2 +1,5 @@
-[% META title = "Документ 1" %]
-Текст докуметна $document.title
+[% META title = "Документ 1", version = 10 %]
+[% BLOCK CTOR;
+	templateVar = "initialized by the constructor";
+END; %]
+$user - $document.title
\ No newline at end of file