nette/nette — pull request #392 by vojtech-dobes (2011-11-04 14:42:51+00:00)
Title: Latte: support for {else} in {if} with condition in closing tag

In {if} block, where the condition is put into closing tag, it is not possible to use {else} branch, because opening tag includes only `ob_start()`. I suppose it is useful feature and now the only way is using `$iterations` variable in extra {if} to create such branch, which is kind of magic.