Fixed complex example to use inverted sections rather than fancy ruby-ish context swizzling (which never worked in PHP anyway).

This commit is contained in:
Justin Hileman
2010-04-26 19:01:57 -04:00
parent fc170fca11
commit 57a6aafff1
3 changed files with 2 additions and 8 deletions
+2 -2
View File
@@ -5,9 +5,9 @@
{{#current}}
<li><strong>{{name}}</strong></li>
{{/current}}
{{#isLink}}
{{^current}}
<li><a href="{{url}}">{{name}}</a></li>
{{/isLink}}
{{/current}}
{{/item}}
</ul>
{{/notEmpty}}