fix form layout (width of input fields)
This commit is contained in:
		
							parent
							
								
									ff9a2a8fd3
								
							
						
					
					
						commit
						3c203fa495
					
				
					 1 changed files with 5 additions and 5 deletions
				
			
		|  | @ -60,7 +60,7 @@ | ||||||
|         </tal:errors> |         </tal:errors> | ||||||
|         <tr> |         <tr> | ||||||
|           <tal:field> |           <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"> |                 tal:attributes="title field/description"> | ||||||
|               <b tal:content="field/title">...</b><span |               <b tal:content="field/title">...</b><span | ||||||
|                     tal:condition="field/required"> *</span> |                     tal:condition="field/required"> *</span> | ||||||
|  | @ -90,7 +90,7 @@ | ||||||
|            tal:define="width field/width|nothing" |            tal:define="width field/width|nothing" | ||||||
|            tal:attributes="name name; id name; |            tal:attributes="name name; id name; | ||||||
|                            style python: |                            style python: | ||||||
|                                 ('width: %s;;' % (width and str(width)+'px' or '600px')) + |                                 ('width: %s;;' % (width and str(width)+'px' or '555px')) + | ||||||
|                                 'height: 1.5em;;'; |                                 'height: 1.5em;;'; | ||||||
|                            value data/?name|string:; |                            value data/?name|string:; | ||||||
|                            xxrequired field/required_js;" /> |                            xxrequired field/required_js;" /> | ||||||
|  | @ -119,7 +119,7 @@ | ||||||
|            tal:define="width field/width|nothing" |            tal:define="width field/width|nothing" | ||||||
|            tal:attributes="name name; |            tal:attributes="name name; | ||||||
|                            style python: |                            style python: | ||||||
|                                 'width: %s' % (width and str(width)+'px' or '600px'); |                                 'width: %s' % (width and str(width)+'px' or '555px'); | ||||||
|                            value data/?name|string:" /> |                            value data/?name|string:" /> | ||||||
| </metal:password> | </metal:password> | ||||||
| 
 | 
 | ||||||
|  | @ -131,7 +131,7 @@ | ||||||
|            tal:attributes="name name; |            tal:attributes="name name; | ||||||
|                            rows python: height or 3; |                            rows python: height or 3; | ||||||
|                            style python: |                            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:"> |            tal:content="data/?name|string:"> | ||||||
|     </textarea> |     </textarea> | ||||||
| </metal:textarea> | </metal:textarea> | ||||||
|  | @ -178,7 +178,7 @@ | ||||||
|             tal:attributes="name name; |             tal:attributes="name name; | ||||||
|                          rows python: height or 3; |                          rows python: height or 3; | ||||||
|                          style python: |                          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:" /> |             tal:content="data/?name|string:" /> | ||||||
| </metal:list> | </metal:list> | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue