[IMP] qweb: mention the two possible syntaxes for t-attf
closes odoo/documentation#1454 Signed-off-by: Antoine Vandevenne (anv) <anv@odoo.com>
This commit is contained in:
parent
dfdbf18afa
commit
cdb8d51131
@ -223,6 +223,11 @@ exists in 3 different forms:
|
||||
<li class="row even">1</li>
|
||||
<li class="row odd">2</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`
|
||||
if the parameter is a mapping, each (key, value) pair generates a new
|
||||
attribute and its value::
|
||||
|
Loading…
Reference in New Issue
Block a user