added useful reminder about form.vars.errors into UPGRADE-2.5 notes
This commit is contained in:
parent
c4615bfc93
commit
aefb1cab05
|
@ -45,6 +45,18 @@ Form
|
|||
{
|
||||
```
|
||||
|
||||
Before:
|
||||
|
||||
```
|
||||
{% if form.vars.errors %}
|
||||
```
|
||||
|
||||
After:
|
||||
|
||||
```
|
||||
{% if form.vars.errors|length %}
|
||||
```
|
||||
|
||||
PropertyAccess
|
||||
--------------
|
||||
|
||||
|
|
Reference in New Issue