symfony2 multiple nested forms prototype
I want to include a collection type inside another collection type. It should look like this: Using just one collection works fine, but I need to edit the prototype of the outer form, so it renders the prototype of the inner form for each line. Any ideas how could I do that? Also what would be the best way to save EDIT: Now I am trying to render the prototype of the nested form: <ul class="characteristics-container" data-prototype="{{ form_widget(form.characteristics.vars.prototype)|e }}" data-prototype-options="{{ form_widget(form.characteristics.options.vars.prototype|e ) }}"> {# iterate