diff options
Diffstat (limited to 'docs/ref')
| -rw-r--r-- | docs/ref/templates/builtins.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/ref/templates/builtins.txt b/docs/ref/templates/builtins.txt index 85c0b6dc26..a20ab170c0 100644 --- a/docs/ref/templates/builtins.txt +++ b/docs/ref/templates/builtins.txt @@ -2058,6 +2058,10 @@ yesno Given a string mapping values for true, false and (optionally) None, returns one of those strings according to the value: +For example:: + + {{ value|yesno:"yeah,no,maybe" }} + ========== ====================== ================================== Value Argument Outputs ========== ====================== ================================== |
