[Zope3-checkins] CVS: Zope3/src/zope/app/browser/form - add.pt:1.15

Philipp von Weitershausen philikon at philikon.de
Mon Dec 15 06:01:40 EST 2003


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

Modified Files:
	add.pt 
Log Message:
Fix i18n in add forms. Using i18n:attributes at the same with tal:replace
is pretty useless. It was simply a matter of generating a message id in
python.

Also, fixed container's add form. It was using view's variables which
don't seem to exist anymore. If anyone remembers where they went (couldn't
find them in the CVS diff), feel free to insert them again.


=== Zope3/src/zope/app/browser/form/add.pt 1.14 => 1.15 ===
--- Zope3/src/zope/app/browser/form/add.pt:1.14	Sat Dec 13 01:28:36 2003
+++ Zope3/src/zope/app/browser/form/add.pt	Mon Dec 15 06:01:39 2003
@@ -54,7 +54,6 @@
           <input type="submit" value="Refresh"
               i18n:attributes="value refresh-button" />
           <input type="submit" name="UPDATE_SUBMIT" value=" Add "
-              i18n:attributes="value add-button"
               tal:replace="structure view/renderAddButton|default"/> 
         </div>
       </div>




More information about the Zope3-Checkins mailing list