remove gendered example (#70117)
Changed example to not assume things about names and genders
This commit is contained in:
parent
da868d9d60
commit
5885ed4455
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ Defining different values for true/false/null
|
||||||
|
|
||||||
You can create a test, then define one value to use when the test returns true and another when the test returns false (new in version 1.9)::
|
You can create a test, then define one value to use when the test returns true and another when the test returns false (new in version 1.9)::
|
||||||
|
|
||||||
{{ (name == "John") | ternary('Mr','Ms') }}
|
{{ (status == "needs_restart") | ternary('restart', 'continue') }}
|
||||||
|
|
||||||
In addition, you can define a one value to use on true, one value on false and a third value on null (new in version 2.8)::
|
In addition, you can define a one value to use on true, one value on false and a third value on null (new in version 2.8)::
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue