Skip to content
This repository was archived by the owner on Jan 26, 2019. It is now read-only.

Replaced "form_widget" by "form_row" in collection example #207

Closed
wants to merge 1 commit into from
Closed

Replaced "form_widget" by "form_row" in collection example #207

wants to merge 1 commit into from

Conversation

romaricdrigon
Copy link

Hi,

This is a port of this PR: symfony/symfony-docs#5133

I copy-paste the description below, but I guess all discussion should happen there, and we should wait on that one.

In the Form reference documentation, for the collection field, an example is given about rendering the prototype.
But form_widgetTwig function is used instead of form_row. This is a bad advice in my opinion, as rendered HTML is then different than the one for an already here field. In example, we will be missing the label.

The small fix change the function used.

@garak
Copy link
Owner

garak commented Jan 26, 2019

Chiudo perché ormai il repo è abbandonato. Grazie comunque.

@garak garak closed this Jan 26, 2019
@romaricdrigon romaricdrigon deleted the patch-1 branch January 28, 2019 15:55
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants