[IMP] qweb: mention the two possible syntaxes for t-attf
closes odoo/documentation#1466
X-original-commit: cdb8d51131
Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
9209d4896c
commit
ffdfdc4e50
@ -223,6 +223,11 @@ exists in 3 different forms:
|
|||||||
<li class="row even">1</li>
|
<li class="row even">1</li>
|
||||||
<li class="row odd">2</li>
|
<li class="row odd">2</li>
|
||||||
<li class="row even">3</li>
|
<li class="row even">3</li>
|
||||||
|
|
||||||
|
.. tip::
|
||||||
|
There are two equivalent syntaxes for format strings: ``"plain_text {{code}}"`` (aka
|
||||||
|
jinja-style) and ``"plain_text #{code}"`` (aka ruby-style).
|
||||||
|
|
||||||
:samp:`t-att=mapping`
|
:samp:`t-att=mapping`
|
||||||
if the parameter is a mapping, each (key, value) pair generates a new
|
if the parameter is a mapping, each (key, value) pair generates a new
|
||||||
attribute and its value::
|
attribute and its value::
|
||||||
|
Loading…
Reference in New Issue
Block a user