10000 added useful reminder about form.vars.errors into UPGRADE-2.5 notes · symfony/symfony@aefb1ca · GitHub
[go: up one dir, main page]

Skip to content

Commit aefb1ca

Browse files
Oleg Andreyevfabpot
Oleg Andreyev
authored andcommitted
added useful reminder about form.vars.errors into UPGRADE-2.5 notes
1 parent c4615bf commit aefb1ca

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