Skip to content

Commit

Permalink
bug #5955 bootstrap5 row/col support for collection fields (Anni-g)
Browse files Browse the repository at this point in the history
This PR was merged into the 4.x branch.

Discussion
----------

bootstrap5 row/col support for collection fields

Solves issue #5895:  Allow bootstrap5 row/col support for collection fields using setEntryCrudForm()

Commits
-------

16c550e bootstrap5 row/col support for collection fields
  • Loading branch information
javiereguiluz committed Oct 21, 2023
2 parents 159e3a9 + 16c550e commit 02affe4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Resources/views/crud/form_theme.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,9 @@
</h2>
<div id="{{ id }}-contents" class="accordion-collapse collapse {{ render_expanded ? 'show' }}">
<div class="accordion-body">
{{ form_widget(form) }}
<div class="row">
{{ form_widget(form) }}
</div>
</div>
</div>
</div>
Expand Down

0 comments on commit 02affe4

Please sign in to comment.