rivet-1.0.x-dev/templates/form/radios.html.twig
templates/form/radios.html.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()
*/
#}
<ul{{ attributes.addClass('rvt-list-plain rvt-width-xl rvt-m-tb-xxs') }}>
{% for item in element|filter((v, k) => k|first != '#') %}
<li>{{ item }}</li>
{% endfor %}
</ul>
