diff 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
line wrap: on
line diff
--- a/doc/customizing.txt	Fri Oct 03 19:13:50 2003 +0000
+++ b/doc/customizing.txt	Fri Oct 03 19:15:24 2003 +0000
@@ -2,7 +2,7 @@
 Customising Roundup
 ===================
 
-:Version: $Revision: 1.101 $
+:Version: $Revision: 1.102 $
 
 .. This document borrows from the ZopeBook section on ZPT. The original is at:
    http://www.zope.org/Documentation/Books/ZopeBook/current/ZPT.stx
@@ -2373,8 +2373,6 @@
    <form method="POST" onSubmit="return submit_once()"
          enctype="multipart/form-data">
 
-    <input type="hidden" name="@required" value="name">
-
     <table class="form">
      <tr><th class="header" colspan="2">Category</th></tr>
 
@@ -2385,7 +2383,10 @@
      </tr>
 
      <tr>
-      <td>&nbsp;</td>
+      <td>
+        &nbsp;
+        <input type="hidden" name="@required" value="name"> 
+      </td>
       <td colspan="3" tal:content="structure context/submit">
        submit button will go here
       </td>

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