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

Garrett Smith garrett at mojave-corp.com
Fri May 7 19:16:08 EDT 2004


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

Modified Files:
	add.pt 
Log Message:
Fixed a bug that was causing errors during utility registration.


=== Zope3/src/zope/app/form/browser/add.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/form/browser/add.pt:1.3	Thu May  6 11:46:05 2004
+++ Zope3/src/zope/app/form/browser/add.pt	Fri May  7 19:16:06 2004
@@ -51,7 +51,7 @@
                  i18n:attributes='value refresh-button' />
           <input type='submit' value='Add' name='UPDATE_SUBMIT'
                  i18n:attributes='value add-button' />
-	  <span tal:condition="context/nameAllowed" tal:omit-tag="">
+          <span tal:condition="context/nameAllowed|nothing" tal:omit-tag="">
                &nbsp;&nbsp;<b i18n:translate="">Object Name</b>&nbsp;&nbsp;    
               <input type='text' name='add_input_name'
                      tal:attributes="value context/contentName" /> 




More information about the Zope3-Checkins mailing list