summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/qweb/qweb-test-attributes.xml
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/lib/qweb/qweb-test-attributes.xml')
-rw-r--r--addons/web/static/lib/qweb/qweb-test-attributes.xml22
1 files changed, 22 insertions, 0 deletions
diff --git a/addons/web/static/lib/qweb/qweb-test-attributes.xml b/addons/web/static/lib/qweb/qweb-test-attributes.xml
new file mode 100644
index 00000000000..91317d5194b
--- /dev/null
+++ b/addons/web/static/lib/qweb/qweb-test-attributes.xml
@@ -0,0 +1,22 @@
+<templates>
+ <t t-name="fixed-literal">
+ <div t-att-foo="'bar'"/>
+ </t>
+ <t t-name="fixed-variable">
+ <div t-att-foo="value"/>
+ </t>
+
+ <t t-name="tuple-literal">
+ <div t-att="['foo', 'bar']"/>
+ </t>
+ <t t-name="tuple-variable">
+ <div t-att="att"/>
+ </t>
+
+ <t t-name="format-literal">
+ <div t-attf-foo="bar"/>
+ </t>
+ <t t-name="format-value">
+ <div t-attf-foo="b#{value}r"/>
+ </t>
+</templates>