[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - add.pt:1.18 adding.py:1.34

sree sree at mahiti.org
Wed Dec 17 06:08:58 EST 2003


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

Modified Files:
	add.pt adding.py 
Log Message:
Minor changes to the Default Addinf method...


=== Zope3/src/zope/app/browser/container/add.pt 1.17 => 1.18 ===
--- Zope3/src/zope/app/browser/container/add.pt:1.17	Wed Dec 17 05:48:50 2003
+++ Zope3/src/zope/app/browser/container/add.pt	Wed Dec 17 06:08:57 2003
@@ -33,11 +33,9 @@
 
       <tr>
         <td><br /></td>
-        <td>
-           <b>Name</b>&nbsp; <input type="text" name="id"
-                   tal:condition="view/namesAccepted"
+        <td> <input type="text" name="id"
+                   tal:condition="view/namesAccepted
                    tal:attributes="value request/id | nothing" />
-<hr>
             <input type="submit" name="add" value=" Add "
                    i18n:attributes="value add-button" />
         </td>


=== Zope3/src/zope/app/browser/container/adding.py 1.33 => 1.34 ===
--- Zope3/src/zope/app/browser/container/adding.py:1.33	Tue Dec 16 10:41:59 2003
+++ Zope3/src/zope/app/browser/container/adding.py	Wed Dec 17 06:08:57 2003
@@ -94,9 +94,10 @@
                    % 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'>"
-                    % (button_label, contentName))
+            return (
+              "Name:&nbsp;<input type='text' name='add_input_name' value='%s'><hr>"
+                    "<input type='submit' name='UPDATE_SUBMIT' value='%s'>"
+                    % ( contentName, button_label))
 
     def publishTraverse(self, request, name):
         """See zope.app.interfaces.container.IAdding"""




More information about the Zope3-Checkins mailing list