fix form layout (width of input fields)

This commit is contained in:
Helmut Merz 2012-06-18 15:10:10 +02:00
parent ff9a2a8fd3
commit 3c203fa495

View file

@ -60,7 +60,7 @@
</tal:errors>
<tr>
<tal:field>
<td style="padding: 4px; border-top: none; vertical-align: top"
<td style="padding: 4px; border-top: none; vertical-align: top; width: 155px"
tal:attributes="title field/description">
<b tal:content="field/title">...</b><span
tal:condition="field/required">&nbsp;*</span>
@ -90,7 +90,7 @@
tal:define="width field/width|nothing"
tal:attributes="name name; id name;
style python:
('width: %s;;' % (width and str(width)+'px' or '600px')) +
('width: %s;;' % (width and str(width)+'px' or '555px')) +
'height: 1.5em;;';
value data/?name|string:;
xxrequired field/required_js;" />
@ -119,7 +119,7 @@
tal:define="width field/width|nothing"
tal:attributes="name name;
style python:
'width: %s' % (width and str(width)+'px' or '600px');
'width: %s' % (width and str(width)+'px' or '555px');
value data/?name|string:" />
</metal:password>
@ -131,7 +131,7 @@
tal:attributes="name name;
rows python: height or 3;
style python:
'width: %s' % (width and str(width)+'px' or '600px');"
'width: %s' % (width and str(width)+'px' or '545px');"
tal:content="data/?name|string:">
</textarea>
</metal:textarea>
@ -178,7 +178,7 @@
tal:attributes="name name;
rows python: height or 3;
style python:
'width: %s' % (width and str(width)+'px' or '600px');"
'width: %s' % (width and str(width)+'px' or '555px');"
tal:content="data/?name|string:" />
</metal:list>