Loading core/themes/claro/claro.theme +0 −7 Original line number Diff line number Diff line Loading @@ -878,13 +878,6 @@ function claro_preprocess_form_element__password(&$variables) { } } /** * Implements template_preprocess_HOOK() for radios. */ function claro_preprocess_radios(&$variables) { $variables['attributes']['class'][] = 'form-boolean-group'; } /** * Implements template_preprocess_HOOK() for filter_tips. */ Loading core/themes/claro/templates/form/radios.html.twig 0 → 100644 +13 −0 Original line number Diff line number Diff line {# /** * @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() */ #} <div{{ attributes.addClass('form-radios','form-boolean-group') }}>{{ children }}</div> Loading
core/themes/claro/claro.theme +0 −7 Original line number Diff line number Diff line Loading @@ -878,13 +878,6 @@ function claro_preprocess_form_element__password(&$variables) { } } /** * Implements template_preprocess_HOOK() for radios. */ function claro_preprocess_radios(&$variables) { $variables['attributes']['class'][] = 'form-boolean-group'; } /** * Implements template_preprocess_HOOK() for filter_tips. */ Loading
core/themes/claro/templates/form/radios.html.twig 0 → 100644 +13 −0 Original line number Diff line number Diff line {# /** * @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() */ #} <div{{ attributes.addClass('form-radios','form-boolean-group') }}>{{ children }}</div>