minor #1565 Update batch.rst (NAYZO)

This PR was squashed before being merged into the 1.17-dev branch (closes #1565).

Discussion
----------

Update batch.rst

Commits
-------

403736f Update batch.rst
This commit is contained in:
Fabien Potencier
2015-01-20 03:07:23 +01:00
+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