Multiple Profiles on an Event registration display incorrectly
Overview
When multiple Profiles are added to an event registration page, only the title and help-text of the last Profile is displayed.
Reproduction steps
- Create two Profiles, with distinct titles and help text, using fields that can be accessed on an event page
- Add both Profiles to an Event registration page
- View the registration page
Current behaviour
If more than one Profile field is included at the bottom of the page, then only the title and the help text of the bottom most Profile is displayed. While the fields of the other Profiles are displayed, they are shown as being part of the last Profile's section.
Expected behaviour
Each Profile should be displayed as its own section, with its title, help text, ext.
Environment information
- CiviCRM: 5.67
Comments
Did a git bisect
of the problem and it pointed tho the commit related to PR 27483. When I revert that patch, the problem does not persist.