{% if accordions %}
  {% if not grouped %}
    {% set attributes = attributes.setAttribute('data-fr-group', 'false') %}
  {% endif %}

  <div{{ attributes.addClass('fr-accordions-group') }}>
    {{ accordions }}
  </div>
{% endif %}
