[Zope-Checkins] CVS: Zope3/lib/python/Zope/App/OFS/Folder - add.pt:1.1.2.2

Steve Alexander steve@cat-box.net
Tue, 19 Feb 2002 18:03:06 -0500


Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Folder
In directory cvs.zope.org:/tmp/cvs-serv9075/Folder

Modified Files:
      Tag: Zope-3x-branch
	add.pt 
Log Message:
Added an html label tag to the typenames to make it easier to select what you want to add.


=== Zope3/lib/python/Zope/App/OFS/Folder/add.pt 1.1.2.1 => 1.1.2.2 ===
       <td class="Selector">
         <input type="radio" name="type_name"
-               tal:attributes="value info/id" />
+               tal:attributes="value info/id; id info/id" />
       </td>
 
       <td class="TypeName">
-        <img alt="Folder" src="../../ZMI/www/folder_icon.gif"
-             tal:condition="info/icon"
-             tal:attributes="src info/icon" />
-        <span tal:replace="info/title">Folder</span>
+        <label tal:attributes="for info/id">
+          <img alt="Folder" src="../../ZMI/www/folder_icon.gif"
+               tal:condition="info/icon"
+               tal:attributes="src info/icon" />
+          <span tal:replace="info/title">Folder</span>
+        </label>
       </td>
 
     </tr>