[revert] put back id_for_label
bzr revid: nicolas.vanhoren@openerp.com-20120320141058-u6c49whligxcc5i1
This commit is contained in:
parent
e061670408
commit
e2c7d8094a
|
@ -946,6 +946,7 @@
|
|||
<t t-if="!widget.get('effective_readonly')">
|
||||
<div t-attf-class="oe_form_field_#{widget.type}">
|
||||
<input t-att-type="widget.password ? 'password' : 'text'"
|
||||
t-att-id="widget.id_for_label"
|
||||
t-attf-class="oe_field_#{widget.type} #{_(['integer', 'float', 'float_time']).contains(widget.type) ? 'oe-number' : ''}"
|
||||
/><img class="oe_field_translate oe_input_icon" t-if="widget.field.translate" t-att-src='_s + "/web/static/src/img/icons/terp-translate.png"' width="16" height="16" border="0"/>
|
||||
</div>
|
||||
|
@ -960,7 +961,7 @@
|
|||
<table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input/>
|
||||
<input t-att-id="widget.id_for_label"/>
|
||||
</td>
|
||||
<td width="16">
|
||||
<button class="oe_button oe_field_button" type="button" title="Send an e-mail with your default e-mail client">
|
||||
|
@ -981,7 +982,7 @@
|
|||
<table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0">
|
||||
<tr>
|
||||
<td>
|
||||
<input/>
|
||||
<input t-att-id="widget.id_for_label"/>
|
||||
</td>
|
||||
<td width="16">
|
||||
<button class="oe_button oe_field_button" type="button" title="Open this resource">
|
||||
|
|
Loading…
Reference in New Issue