Ticket #14122: yesno_documentation.patch
File yesno_documentation.patch, 612 bytes (added by , 14 years ago) |
---|
-
docs/ref/templates/builtins.txt
2045 2045 Given a string mapping values for true, false and (optionally) None, 2046 2046 returns one of those strings according to the value: 2047 2047 2048 For example:: 2049 2050 {{ value|yesno:"yeah,no,maybe" }} 2051 2048 2052 ========== ====================== ================================== 2049 2053 Value Argument Outputs 2050 2054 ========== ====================== ==================================