[1.0.2] Useless loop in accordion group

Created on 29 October 2024, 5 months ago

Problem/Motivation

In templates/patterns/accordion_group/pattern-accordion-group.html.twig:

  <div{{ attributes.addClass('fr-accordions-group') }}>
    {% for accordion in accordions %}
      {{ accordion }}
    {% endfor %}
  </div>

accordions is a slot

Proposed resolution

Print accordions

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024