8000 Correction needed · symfony/symfony-docs@87d6884 · GitHub
[go: up one dir, main page]

Skip to content

Commit 87d6884

Browse files
pfleuxabbuh
authored andcommitted
Correction needed
There is an error in the prototype customization chapter. "tasks" must be "form"
1 parent c57f756 commit 87d6884

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cookbook/form/form_customization.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -762,8 +762,8 @@ will be able to change the widget for each task as follows:
762762

763763
{% block _tasks_entry_widget %}
764764
<tr>
765-
<td>{{ form_widget(task.task) }}</td>
766-
<td>{{ form_widget(task.dueDate) }}</td>
765+
<td>{{ form_widget(form.task) }}</td>
766+
<td>{{ form_widget(form.dueDate) }}</td>
767767
</tr>
768768
{% endblock %}
769769

0 commit comments

Comments
 (0)
0