Merge pull request #10767 from sivel/issue/10763

Correct the ternary example. Fixes #10763
This commit is contained in:
Brian Coca 2015-04-18 22:48:44 -04:00
commit 5d446bbd5b

View file

@ -301,7 +301,7 @@ Other Useful Filters
To use one value on true and another on false (since 1.9):: To use one value on true and another on false (since 1.9)::
{{ name == "John" | ternary('Mr','Ms') }} {{ (name == "John") | ternary('Mr','Ms') }}
To concatenate a list into a string:: To concatenate a list into a string::