Correct the ternary example. Fixes #10763

This commit is contained in:
Matt Martz 2015-04-18 16:02:04 -05:00
parent f4172fb9da
commit d34e7d7bca

View file

@ -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::