[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - add.pt:1.3.6.1

Guido van Rossum guido@python.org
Mon, 3 Mar 2003 15:07:52 -0500


Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv16004/zope/app/browser/container

Modified Files:
      Tag: use-config-branch
	add.pt 
Log Message:
Created a new menu, "add_service", and moved all services into that
menu.  This way, the "add_component" menu isn't so big.  Downside is
that it takes an extra step to add a service.


=== Zope3/src/zope/app/browser/container/add.pt 1.3 => 1.3.6.1 ===
--- Zope3/src/zope/app/browser/container/add.pt:1.3	Mon Dec 30 11:45:58 2002
+++ Zope3/src/zope/app/browser/container/add.pt	Mon Mar  3 15:07:21 2003
@@ -58,7 +58,10 @@
   <tr>
     <td><br/></td>
     <td>
-        <input type="text" name="id" tal:condition="view/namesAccepted" />
+        <input type="text" name="id"
+               tal:condition="view/namesAccepted"
+	       tal:attributes="value request/id | nothing"
+        />
         <input type="submit" value=" Add " />
     </td>
   </tr>