[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - adding.py:1.31

Philipp von Weitershausen philikon at philikon.de
Mon Dec 15 07:45:35 EST 2003


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

Modified Files:
	adding.py 
Log Message:
Fix tests.


=== Zope3/src/zope/app/browser/container/adding.py 1.30 => 1.31 ===
--- Zope3/src/zope/app/browser/container/adding.py:1.30	Mon Dec 15 06:01:39 2003
+++ Zope3/src/zope/app/browser/container/adding.py	Mon Dec 15 07:45:05 2003
@@ -86,12 +86,12 @@
         container = self.context
         button_label = _('add-button', 'Add')
         if IContainerNamesContainer.isImplementedBy(container):
-            return "<input type='submit' name='UPDATE_SUBMIT' value=' %s '>" \
+            return "<input type='submit' name='UPDATE_SUBMIT' value='%s'>" \
                    % button_label
         else:
             contentName = self.contentName or ''
-            return ("<input type='submit' name='UPDATE_SUBMIT' value=' %s '>"
-                    "<input type='text' name='add_input_name' value=' %s '>"
+            return ("<input type='submit' name='UPDATE_SUBMIT' value='%s'>"
+                    "<input type='text' name='add_input_name' value='%s'>"
                     % (button_label, contentName))
 
     def publishTraverse(self, request, name):




More information about the Zope3-Checkins mailing list