comparison doc/customizing.txt @ 1829:4e4afbe3cd30

Move '<input type="hidden">' elements into a block. It is invalid HTML4 Strict to have them at the top of a form.
author Johannes Gijsbers <jlgijsbers@users.sourceforge.net>
date Fri, 03 Oct 2003 19:15:24 +0000
parents fad32dafc174
children f7b0ca3de3dc
comparison
equal deleted inserted replaced
1828:b4ba6db03595 1829:4e4afbe3cd30
1 =================== 1 ===================
2 Customising Roundup 2 Customising Roundup
3 =================== 3 ===================
4 4
5 :Version: $Revision: 1.101 $ 5 :Version: $Revision: 1.102 $
6 6
7 .. This document borrows from the ZopeBook section on ZPT. The original is at: 7 .. This document borrows from the ZopeBook section on ZPT. The original is at:
8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx 8 http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
9 9
10 .. contents:: 10 .. contents::
2371 </td> 2371 </td>
2372 <td class="content" metal:fill-slot="content"> 2372 <td class="content" metal:fill-slot="content">
2373 <form method="POST" onSubmit="return submit_once()" 2373 <form method="POST" onSubmit="return submit_once()"
2374 enctype="multipart/form-data"> 2374 enctype="multipart/form-data">
2375 2375
2376 <input type="hidden" name="@required" value="name">
2377
2378 <table class="form"> 2376 <table class="form">
2379 <tr><th class="header" colspan="2">Category</th></tr> 2377 <tr><th class="header" colspan="2">Category</th></tr>
2380 2378
2381 <tr> 2379 <tr>
2382 <th>Name</th> 2380 <th>Name</th>
2383 <td tal:content="structure python:context.name.field(size=60)"> 2381 <td tal:content="structure python:context.name.field(size=60)">
2384 name</td> 2382 name</td>
2385 </tr> 2383 </tr>
2386 2384
2387 <tr> 2385 <tr>
2388 <td>&nbsp;</td> 2386 <td>
2387 &nbsp;
2388 <input type="hidden" name="@required" value="name">
2389 </td>
2389 <td colspan="3" tal:content="structure context/submit"> 2390 <td colspan="3" tal:content="structure context/submit">
2390 submit button will go here 2391 submit button will go here
2391 </td> 2392 </td>
2392 </tr> 2393 </tr>
2393 </table> 2394 </table>

Roundup Issue Tracker: http://roundup-tracker.org/