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

Garrett Smith garrett at mojave-corp.com
Tue Dec 16 15:33:37 EST 2003


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

Modified Files:
	add.py editview.py 
Log Message:
Removed 'form' attributes that I has added earlier, not realizing 
that 'generated_form' can be used.


=== Zope3/src/zope/app/browser/form/add.py 1.36 => 1.37 ===
--- Zope3/src/zope/app/browser/form/add.py:1.36	Sun Dec  7 05:04:49 2003
+++ Zope3/src/zope/app/browser/form/add.py	Tue Dec 16 15:33:36 2003
@@ -42,8 +42,6 @@
     to be edited.
     """
 
-    form = ViewPageTemplateFile('add.pt')
-
     def _setUpWidgets(self):
         setUpWidgets(self, self.schema, names=self.fieldNames)
 


=== Zope3/src/zope/app/browser/form/editview.py 1.42 => 1.43 ===
--- Zope3/src/zope/app/browser/form/editview.py:1.42	Sun Dec  7 05:04:49 2003
+++ Zope3/src/zope/app/browser/form/editview.py	Tue Dec 16 15:33:36 2003
@@ -46,8 +46,6 @@
     update_status = None
     label = ''
 
-    form = ViewPageTemplateFile('edit.pt')
-
     # Fall-back field names computes from schema
     fieldNames = property(lambda self: getFieldNamesInOrder(self.schema))
     # Fall-back template




More information about the Zope3-Checkins mailing list