view _test/Resources/TTView/Layout/default.tt @ 211:2b9b55cfb79b

Completed IMPL::Web::AutoLocator, added tests
author cin
date Tue, 05 Jun 2012 07:45:21 +0400
parents 7a920771fd8e
children d357b5d85d25
line wrap: on
line source

[% view.mode = 'default' %]
<html>
    <head>
        <title>$site.name - [% document.title || template.title %]</title>
        [% IF dojo.require.size;
            modules = [];
            modules.push('"' _ item _ '"') FOREACH item IN dojo.require.unique();
        %]
        <script type="text/javascript">
            require([ [% modules.join(', ') %] ]);
        </script>
        [% END %]
    </head>
    <body>
        [% content %]
    </body>
</html>