Merge pull request #10767 from sivel/issue/10763

Correct the ternary example. Fixes #10763
pull/10770/head
Brian Coca 10 years ago
commit 5d446bbd5b

@ -301,7 +301,7 @@ Other Useful Filters
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::

Loading…
Cancel
Save