view _test/Resources/TTView/complex.tt @ 216:e9fd7ff3f54c

sync
author sergey
date Thu, 09 Aug 2012 17:24:07 +0400
parents 7a920771fd8e
children b8c724f6de36
line wrap: on
line source

[%
    META version = 1, title = "my document 2", layout="default";

    BLOCK CTOR;
        TPanel = require('My/Org/Panel');
        append( TPanel.new('information', data = data ) );
    END;

%]
[% FOREACH node IN this.childNodes() %]
	<div>[% node.Render() %]</div>
[% END %]