[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - add.py:1.24

Stuart Bishop zen@shangri-la.dropbear.id.au
Mon, 14 Jul 2003 05:45:07 -0400


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

Modified Files:
	add.py 
Log Message:
Wire up browser:addform's new description attribute

=== Zope3/src/zope/app/browser/form/add.py 1.23 => 1.24 ===
--- Zope3/src/zope/app/browser/form/add.py:1.23	Mon Jun 23 12:41:49 2003
+++ Zope3/src/zope/app/browser/form/add.py	Mon Jul 14 05:45:02 2003
@@ -169,7 +169,7 @@
         template = None, omit=None, fields=None,
         arguments='', keyword_arguments='',
         set_before_add='', set_after_add='',
-        menu=None, title=None,
+        menu=None, title=None, description='',
         ):
 
     # Handle menu attrs. We do this now to rather than later becaise
@@ -180,7 +180,7 @@
                              "they must both be specified")
         actions = menuItemDirective(
             _context, menu, for_, '@@' + name, title,
-            permission=permission)
+            permission=permission, description=description)
     else:
         actions = []