Explorar o código

Fixing coloration on a twig block

Baptiste "Talus" Clavie %!s(int64=13) %!d(string=hai) anos
pai
achega
2c8766cf84
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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.
 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:: jinja
+.. code-block:: html+jinja
 
 
     {# in Acme/ProjectBundle/Resources/views/CRUD/list__batch.html.twig #}
     {# in Acme/ProjectBundle/Resources/views/CRUD/list__batch.html.twig #}