{#- If an id 'prefix' is not passed, fall back to using the name attribute instead. We need this for error messages and hints as well -#} {% set idPrefix = params.idPrefix if params.idPrefix %}

{{ params.title | default ("Contents") }}

{% if(params.items) %} {% endif %} {% for item in params.items %} {% set id = item.id if item.id else idPrefix + "-" + loop.index %}
{{ item.panel.html | safe if item.panel.html else item.panel.text }}
{% endfor %}