added useful reminder about form.vars.errors into UPGRADE-2.5 notes

This commit is contained in:
Oleg Andreyev 2014-08-08 15:53:35 +03:00 committed by Fabien Potencier
parent c4615bfc93
commit aefb1cab05
1 changed files with 12 additions and 0 deletions

View File

@ -45,6 +45,18 @@ Form
{
```
Before:
```
{% if form.vars.errors %}
```
After:
```
{% if form.vars.errors|length %}
```
PropertyAccess
--------------