[Zope3-checkins] CVS: Zope3/src/zope/app/form - __init__.py:1.4

Garrett Smith garrett at mojave-corp.com
Fri May 7 15:33:32 EDT 2004


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

Modified Files:
	__init__.py 
Log Message:
Renamed widget title and description to label and hint, respectively.


=== Zope3/src/zope/app/form/__init__.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/form/__init__.py:1.3	Thu Mar 18 12:01:09 2004
+++ Zope3/src/zope/app/form/__init__.py	Fri May  7 15:33:31 2004
@@ -38,10 +38,10 @@
         self.request = request
         self.name = self._prefix + context.__name__
         
-    title = property(lambda self: self._translate(
+    label = property(lambda self: self._translate(
         self.context.title))
     
-    description = property(lambda self: self._translate(
+    hint = property(lambda self: self._translate(
         self.context.description))
     
     def _translate(self, text):




More information about the Zope3-Checkins mailing list