From fa0b0985c3b3b62281ea938f01eadf04cdbeaa3f Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sat, 21 Apr 2012 07:33:50 +0200 Subject: [PATCH] tweaked the iterable example in the docs --- doc/tests/iterable.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/doc/tests/iterable.rst b/doc/tests/iterable.rst index c0bc7096d..ed0c2b729 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 %}