diff --git a/doc/filters/batch.rst b/doc/filters/batch.rst index a1271735e..c03c5747a 100644 --- a/doc/filters/batch.rst +++ b/doc/filters/batch.rst @@ -10,7 +10,7 @@ missing items: .. code-block:: twig - {% set items = ['a', 'b', 'c', 'd', 'e', 'f', 'g'] %} + {% set items = ['a', 'b', 'c', 'd'] %} {% for row in items|batch(3, 'No item') %} @@ -34,11 +34,6 @@ The above example will be rendered as: - - - - -
def
g No item No item