Problem/Motivation

We shouldn't loop on table rows

{% if body %}
  <tbody>
  {% for row in body %}
    {{ row }}
  {% endfor %}
  </tbody>
{% endif %}

Proposed resolution

Instead we should print directly the slot

{% if body %}
  <tbody>
    {{ body }}
  </tbody>
{% endif %}
Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

g4mbini created an issue. See original summary.

  • g4mbini committed 634299ed on 5.0.x
    feat: #3569363 [5.0.0-alpha6] Replace loop by printing slot in table...
g4mbini’s picture

Status: Active » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.