From 4764bda7a492f020e6cb744c6ed0babde9ba9f9c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?benjamin=20melan=C3=A7on?= Date: Tue, 11 Dec 2018 13:36:10 -0500 Subject: [PATCH] Override core radios template to add class --- agaric/templates/form/radios.html.twig | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 agaric/templates/form/radios.html.twig diff --git a/agaric/templates/form/radios.html.twig b/agaric/templates/form/radios.html.twig new file mode 100644 index 0000000..2e4bafd --- /dev/null +++ b/agaric/templates/form/radios.html.twig @@ -0,0 +1,13 @@ +{# +/** + * @file + * Theme override for a 'radios' #type form element. + * + * Available variables + * - attributes: A list of HTML attributes for the wrapper element. + * - children: The rendered radios. + * + * @see template_preprocess_radios() + */ +#} +{{ children }}