Repository navigation
Release v3.9.0
v3.9.0
Changelog
Bundle views render form bodies through the child loop (REQ-TWIG-003). See UPGRADING.
Changed
- Bundle views render their Symfony forms through the child loop (
{% for child in form %}{% if not child.rendered %}{{ form_row(child) }}{% endif %}{% endfor %}): access records / access statistics filters and the purge form, the dashboard clear-data form, the delete and review forms of the routes tables (both partials and theRoutesTablecomponent), the statistics environment selector and the dashboard filters (Filterscomponent and_filters_*partials keep their grouped custom layout and add the loop for the remaining children). Submit buttons are captured before the loop so they stay in their action rows. Fields that the FormType had but the template skipped are now rendered (pathin the Tailwind access statistics and in theFilterscomponent).RecordFiltersTypegains arecord_fieldsoption (defaulttrue); the access statistics page sets it tofalse, so it keeps its six filters. The statistics environment selector gets its auto-submitonchangefrom the FormTypeattr_extraoption instead of the template, so itsattr_classis no longer dropped (REQ-TWIG-003). - Demo: product create/edit forms use the child loop instead of
form_widget(form)(REQ-TWIG-003).