Skip to content

Commit 9d0cf82

Browse files
committed
minor symfony#6138 Correction needed (pfleu)
This PR was submitted for the 3.0 branch but it was merged into the 2.3 branch instead (closes symfony#6138). Discussion ---------- Correction needed There is an error in the prototype customization chapter. "tasks" must be "form" Commits ------- 87d6884 Correction needed
2 parents c57f756 + 87d6884 commit 9d0cf82

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)