From aefb1cab0565780e67aab2e934d455381ca90b00 Mon Sep 17 00:00:00 2001 From: Oleg Andreyev Date: Fri, 8 Aug 2014 15:53:35 +0300 Subject: [PATCH] added useful reminder about form.vars.errors into UPGRADE-2.5 notes --- UPGRADE-2.5.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/UPGRADE-2.5.md b/UPGRADE-2.5.md index 69f57506fa..8776670dad 100644 --- a/UPGRADE-2.5.md +++ b/UPGRADE-2.5.md @@ -45,6 +45,18 @@ Form { ``` + Before: + + ``` + {% if form.vars.errors %} + ``` + + After: + + ``` + {% if form.vars.errors|length %} + ``` + PropertyAccess --------------