Skip to content

Commit

Permalink
minor #11619 added useful reminder about form.vars.errors into UPGRAD…
Browse files Browse the repository at this point in the history
…E-2.5 notes (Oleg Andreyev)

This PR was submitted for the master branch but it 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
  • Loading branch information
fabpot committed Aug 26, 2014
2 parents c4615bf + aefb1ca commit b03530b
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions UPGRADE-2.5.md
Expand Up @@ -45,6 +45,18 @@ Form
{
```

Before:

```
{% if form.vars.errors %}
```

After:

```
{% if form.vars.errors|length %}
```

PropertyAccess
--------------

Expand Down

0 comments on commit b03530b

Please sign in to comment.