Category: forms

Symfony Embed a Collection of Forms escape html error

When I apply the |escape(‘html_attr’) my form is no longer displayed. Does anyone know what could be causing this? Twig template: <section class=”section-two”> <h2 class=”titel-1″>Reservatie</h2> {{ form_start(form) }} <h3 class=”titel-2″>1. Selecteer je gewenste kamer</h3> {{ form_row(form.kamer) }} <h3 class=”titel-2″>2. Selecteer…