1
0
Fork 0

adding test for empty array

This commit is contained in:
Jeremy Bush 2010-05-18 09:26:24 -05:00
parent 995fa15e66
commit d95bff3116
1 changed files with 2 additions and 0 deletions

View File

@ -7,10 +7,12 @@
<body>
<h1>{{title}}</h1>
<p>Here are all my {{things}}:</p>
{{#tests?}}
<ul>
{{#tests}}
<li class="{{class}}"><strong>{{object.id}} (class {{class}}):</strong> ({{object.name}}:{{object.value}})</li>
{{/tests}}
</ul>
{{/tests?}}
</body>
</html>