浏览代码

Added jinja coloration for twig coloration

Baptiste "Talus" Clavie 13 年之前
父节点
当前提交
b4fd7f0703
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Resources/doc/reference/batch_actions.rst

+ 1 - 1
Resources/doc/reference/batch_actions.rst

@@ -39,7 +39,7 @@ Override the ``getBatchActions`` from your ``Admin`` class to define custom batc
 
 Obviously, a merge action requires two kind of selection : a set of source model to merge into one target model. By default, this bundle only enable the user to select some model, but there is only one selection kind. Thus you will need to override the ``list__batch.html.twig`` template to display both a checkbox (source selection) and a radio (target selection) for each model row. See Symfony bundle overriding mechanism for further explanation.
 
-.. code-block::
+.. code-block:: jinja
 
     {# in Acme/ProjectBundle/Resources/views/CRUD/list__batch.html.twig #}