view _test/Resources/TTView/complex.tt @ 226:b6cde007a175

Added resource contract
author sergey
date Wed, 05 Sep 2012 15:10:26 +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 %]