Update batch.rst

This commit is contained in:
Ala Eddine Khefifi
2014-11-09 17:47:53 +01:00
committed by Fabien Potencier
parent f8b6e918a7
commit 403736f031
+1 -2
View File
@@ -5,8 +5,7 @@
The ``batch`` filter was added in Twig 1.12.3.
The ``batch`` filter "batches" items by returning a list of lists with the
given number of items. If you provide a second parameter, it is used to fill
missing items:
given number of items. A second parameter can be provided and used to fill in missing items:
.. code-block:: jinja