summaryrefslogtreecommitdiff
path: root/addons/web_mobile/static/src/xml
diff options
context:
space:
mode:
authorBhumi Thakkar (Open ERP) <bth@tinyerp.com>2011-10-19 16:35:29 +0530
committerBhumi Thakkar (Open ERP) <bth@tinyerp.com>2011-10-19 16:35:29 +0530
commit45b5fd73a219995e01d6904ca0e862c0fac97bde (patch)
tree293d7327554f57cbfc7046d96b9b205f57305c2b /addons/web_mobile/static/src/xml
parent00dd58370bb0ef5865392597f76ac8860865d085 (diff)
[FIX] Some minor issues with UI.
bzr revid: bth@tinyerp.com-20111019110529-wu9jb6v847dutnww
Diffstat (limited to 'addons/web_mobile/static/src/xml')
-rw-r--r--addons/web_mobile/static/src/xml/web_mobile.xml9
1 files changed, 4 insertions, 5 deletions
diff --git a/addons/web_mobile/static/src/xml/web_mobile.xml b/addons/web_mobile/static/src/xml/web_mobile.xml
index a51b75ee110..17ac82253e2 100644
--- a/addons/web_mobile/static/src/xml/web_mobile.xml
+++ b/addons/web_mobile/static/src/xml/web_mobile.xml
@@ -153,12 +153,11 @@
<t t-call="Header" />
</t>
<div data-role="content">
-
<form>
<t t-foreach="get_fields" t-as="field">
<div data-role="fieldcontain">
<t t-if="fields[field.attrs.name].type == 'char'">
- <label for="">
+ <label t-att-for="field.attrs.name">
<t t-if="!(field.attrs.string)" t-esc="fields[field.attrs.name].string"></t>
<t t-if="field.attrs.string" t-esc="field.attrs.string"></t>:
</label>
@@ -183,7 +182,7 @@
<textarea name="" id="" readonly="true"></textarea>
</t>
<t t-if="fields[field.attrs.name].type == 'integer'">
- <label for="">
+ <label t-att-for="field.attrs.name">
<t t-if="!(field.attrs.string)" t-esc="fields[field.attrs.name].string"></t>
<t t-if="field.attrs.string" t-esc="field.attrs.string"></t>:
</label>
@@ -195,7 +194,7 @@
</t>
</t>
<t t-if="fields[field.attrs.name].type == 'float_time'">
- <label for="">
+ <label t-att-for="field.attrs.name">
<t t-if="!(field.attrs.string)" t-esc="fields[field.attrs.name].string"></t>
<t t-if="field.attrs.string" t-esc="field.attrs.string"></t>:
</label>
@@ -207,7 +206,7 @@
</t>
</t>
<t t-if="fields[field.attrs.name].type == 'float'">
- <label for="">
+ <label t-att-for="field.attrs.name">
<t t-if="!(field.attrs.string)" t-esc="fields[field.attrs.name].string"></t>
<t t-if="field.attrs.string" t-esc="field.attrs.string"></t>:
</label>