Code

Move '<input type="hidden">' elements into a block, it is invalid HTML4 Strict
[roundup.git] / templates / classic / html / file.item.html
index ca9f6bd529d07351d2af287811086ca092c470e5..dd102b24dbf8e26704b5b8166b303bce0b617dfc 100644 (file)
@@ -13,13 +13,6 @@ You are not allowed to view this page.
 <form method="POST" onSubmit="return submit_once()"
       enctype="multipart/form-data" tal:condition="context/is_edit_ok">
 
-<input type="hidden" name=":template" value="item">
-<input type="hidden" name=":required" value="name,type">
-
-<input type="hidden" name=":multilink"
-       tal:condition="python:request.form.has_key(':multilink')"
-       tal:attributes="value request/form/:multilink/value">
-
 <table class="form">
  <tr>
   <th>Name</th>
@@ -31,7 +24,14 @@ You are not allowed to view this page.
  </tr>
 
  <tr>
-  <td>&nbsp;</td>
+  <td>
+   &nbsp;
+   <input type="hidden" name=":template" value="item">
+   <input type="hidden" name=":required" value="name,type">
+   <input type="hidden" name=":multilink"
+          tal:condition="python:request.form.has_key(':multilink')"
+          tal:attributes="value request/form/:multilink/value">
+  </td>
   <td tal:content="structure context/submit">submit button here</td>
  </tr>
 </table>