From: Fabien Potencier Date: Sat, 21 Apr 2012 05:33:50 +0000 (+0200) Subject: tweaked the iterable example in the docs X-Git-Url: http://git.silmor.de/gitweb/?a=commitdiff_plain;h=fa0b0985c3b3b62281ea938f01eadf04cdbeaa3f;p=web%2Fkonrad%2Ftwig.git tweaked the iterable example in the docs --- diff --git a/doc/tests/iterable.rst b/doc/tests/iterable.rst index c0bc709..ed0c2b7 100644 --- a/doc/tests/iterable.rst +++ b/doc/tests/iterable.rst @@ -9,6 +9,8 @@ .. code-block:: jinja {# evaluates to true if the foo variable is iterable #} - {% if foo is iterable %} - ... + {% if users is iterable %} + {% for user in users %} + - {{ user }} + {% endfor %} {% endif %}