[Zope3-checkins] CVS: Zope3/src/zope/app/form - widget.py:1.7

Anthony Baxter anthony@interlink.com.au
Mon, 14 Jul 2003 11:06:15 -0400


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

Modified Files:
	widget.py 
Log Message:
let widgets have a description field, can then be displayed in the add/edit
forms.


=== Zope3/src/zope/app/form/widget.py 1.6 => 1.7 ===
--- Zope3/src/zope/app/form/widget.py:1.6	Sun Jul 13 02:47:21 2003
+++ Zope3/src/zope/app/form/widget.py	Mon Jul 14 11:06:10 2003
@@ -63,6 +63,7 @@
         raise TypeError("applyChanges has not been implemented")
 
     title = property(lambda self: self.context.title)
+    description = property(lambda self: self.context.description)
 
     required = property(lambda self: self.context.required)