[imp] small simplification of field char, email & url

bzr revid: nicolas.vanhoren@openerp.com-20120320134630-vpm67t7rlhvftl58
This commit is contained in:
niv-openerp
2012-03-20 14:46:30 +01:00
parent 64f940f212
commit b4c90db21f
+2 -4
View File
@@ -946,8 +946,6 @@
<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-name="widget.name"
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>
@@ -962,7 +960,7 @@
<table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<t t-call="FieldChar"/>
<input/>
</td>
<td width="16">
<button class="oe_button oe_field_button" type="button" title="Send an e-mail with your default e-mail client">
@@ -983,7 +981,7 @@
<table t-attf-class="oe_form_field_#{widget.type}" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<t t-call="FieldChar"/>
<input/>
</td>
<td width="16">
<button class="oe_button oe_field_button" type="button" title="Open this resource">