Mercurial > p > roundup > code
comparison templates/classic/html/user.item.html @ 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 | 5ed17c4b840c |
| children | 8b840f8626fb |
comparison
equal
deleted
inserted
replaced
| 1828:b4ba6db03595 | 1829:4e4afbe3cd30 |
|---|---|
| 18 You are not allowed to view this page. | 18 You are not allowed to view this page. |
| 19 </span> | 19 </span> |
| 20 | 20 |
| 21 <form method="POST" onSubmit="return submit_once()" | 21 <form method="POST" onSubmit="return submit_once()" |
| 22 enctype="multipart/form-data" tal:condition="context/is_edit_ok"> | 22 enctype="multipart/form-data" tal:condition="context/is_edit_ok"> |
| 23 | |
| 24 <input type="hidden" name=":template" value="item"> | |
| 25 <input type="hidden" name=":required" value="username,address"> | |
| 26 | 23 |
| 27 <table class="form"> | 24 <table class="form"> |
| 28 <tr> | 25 <tr> |
| 29 <th>Name</th> | 26 <th>Name</th> |
| 30 <td tal:content="structure context/realname/field">realname</td> | 27 <td tal:content="structure context/realname/field">realname</td> |
| 70 <th>Alternate E-mail addresses<br>One address per line</th> | 67 <th>Alternate E-mail addresses<br>One address per line</th> |
| 71 <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td> | 68 <td tal:content="structure context/alternate_addresses/multiline">alternate_addresses</td> |
| 72 </tr> | 69 </tr> |
| 73 | 70 |
| 74 <tr> | 71 <tr> |
| 75 <td> </td> | 72 <td> |
| 73 | |
| 74 <input type="hidden" name=":template" value="item"> | |
| 75 <input type="hidden" name=":required" value="username,address"> | |
| 76 </td> | |
| 76 <td tal:content="structure context/submit">submit button here</td> | 77 <td tal:content="structure context/submit">submit button here</td> |
| 77 </tr> | 78 </tr> |
| 78 </table> | 79 </table> |
| 79 </form> | 80 </form> |
| 80 | 81 |
