8000 minor #11619 added useful reminder about form.vars.errors into UPGRAD… · symfony/symfony@b03530b · GitHub
[go: up one dir, main page]

Skip to content

Commit b03530b

Browse files
committed
minor #11619 added useful reminder about form.vars.errors into UPGRADE-2.5 notes (Oleg Andreyev)
This PR was submitted for the master branch but it 8000 was merged into the 2.5 branch instead (closes #11619). Discussion ---------- added useful reminder about form.vars.errors into UPGRADE-2.5 notes | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | no | Fixed tickets | - | License | MIT | Doc PR | - PR is just about upgrading UPGRADE-2.5 notes. We've been upgrading from 2.4 to 2.5.3 and missing this part (upgrading templates) Commits ------- aefb1ca added useful reminder about form.vars.errors into UPGRADE-2.5 notes
2 parents c4615bf + aefb1ca commit b03530b

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

UPGRADE-2.5.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,18 @@ Form
4545
{
4646
```
4747

48+
Before:
49+
50+
```
51+
{% if form.vars.errors %}
52+
```
53+
54+
After:
55+
56+
```
57+
{% if form.vars.errors|length %}
58+
```
59+
4860
PropertyAccess
4961
--------------
5062

0 commit comments

Comments
 (0)
0