From a0bd7b33fb4161cc1ec7d1afd091fde763ed8fc0 Mon Sep 17 00:00:00 2001 From: Oskar Stark Date: Thu, 27 Oct 2022 08:20:54 +0200 Subject: [PATCH] Use correct code-block --- reference/forms/types/choice.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reference/forms/types/choice.rst b/reference/forms/types/choice.rst index 7b003585d12..0eb6df330b7 100644 --- a/reference/forms/types/choice.rst +++ b/reference/forms/types/choice.rst @@ -332,7 +332,7 @@ choice is selected or not. If you need to get the full list of choices data and values, use the ``choices`` variable from the parent form of the choice entry (which is the ``ChoiceType`` itself) with ``form.parent.vars.choices``:: -.. code-block:: html+twig +.. code-block:: twig {# `true` or `false`, whether the current choice is selected as radio or checkbox #} {{ form.vars.data }}