v1/web/themes/custom/martis/templates/form/radios.html.twig

18 lines
347 B
Twig

{#
/**
* @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()
*/
#}
{%
set classes = [
'radios',
]
%}
<div{{ attributes.addClass(classes) }}>{{ children }}</div>