diff --git a/content/developer/reference/frontend/qweb.rst b/content/developer/reference/frontend/qweb.rst index 69ef431bb..46cee10ad 100644 --- a/content/developer/reference/frontend/qweb.rst +++ b/content/developer/reference/frontend/qweb.rst @@ -223,6 +223,11 @@ exists in 3 different forms:
  • 1
  • 2
  • 3
  • + + .. 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::