Mercurial > p > roundup > code
comparison templates/classic/html/issue.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 | fad32dafc174 |
| children | f5c804379c85 |
comparison
equal
deleted
inserted
replaced
| 1828:b4ba6db03595 | 1829:4e4afbe3cd30 |
|---|---|
| 20 </span> | 20 </span> |
| 21 | 21 |
| 22 <form method="POST" name="itemSynopsis" onSubmit="return submit_once()" | 22 <form method="POST" name="itemSynopsis" onSubmit="return submit_once()" |
| 23 enctype="multipart/form-data" tal:condition="context/is_edit_ok" | 23 enctype="multipart/form-data" tal:condition="context/is_edit_ok" |
| 24 tal:attributes="action context/designator"> | 24 tal:attributes="action context/designator"> |
| 25 | |
| 26 <input type="hidden" name=":template" value="item"> | |
| 27 <input type="hidden" name=":required" value="title,priority"> | |
| 28 | 25 |
| 29 <table class="form"> | 26 <table class="form"> |
| 30 <tr> | 27 <tr> |
| 31 <th class="required">Title</th> | 28 <th class="required">Title</th> |
| 32 <td colspan=3 tal:content="structure python:context.title.field(size=60)">title</td> | 29 <td colspan=3 tal:content="structure python:context.title.field(size=60)">title</td> |
| 79 <th>File</th> | 76 <th>File</th> |
| 80 <td colspan=3><input type="file" name=":file" size="40"></td> | 77 <td colspan=3><input type="file" name=":file" size="40"></td> |
| 81 </tr> | 78 </tr> |
| 82 | 79 |
| 83 <tr> | 80 <tr> |
| 84 <td> </td> | 81 <td> |
| 82 | |
| 83 <input type="hidden" name=":template" value="item"> | |
| 84 <input type="hidden" name=":required" value="title,priority"> | |
| 85 </td> | |
| 85 <td colspan=3 tal:content="structure context/submit"> | 86 <td colspan=3 tal:content="structure context/submit"> |
| 86 submit button will go here | 87 submit button will go here |
| 87 </td> | 88 </td> |
| 88 </tr> | 89 </tr> |
| 89 </table> | 90 </table> |
