[Zope3-checkins] CVS: Zope3/src/zope/app/form/browser - add.pt:1.3
Suresh Babu Eddala
sbabu at zeomega.com
Thu May 6 11:46:36 EDT 2004
Update of /cvs-repository/Zope3/src/zope/app/form/browser
In directory cvs.zope.org:/tmp/cvs-serv3952/form/browser
Modified Files:
add.pt
Log Message:
The renderAddButton method is deprecated, use nameAllowed method.
=== Zope3/src/zope/app/form/browser/add.pt 1.2 => 1.3 ===
--- Zope3/src/zope/app/form/browser/add.pt:1.2 Mon May 3 22:01:24 2004
+++ Zope3/src/zope/app/form/browser/add.pt Thu May 6 11:46:05 2004
@@ -48,9 +48,14 @@
<div class="row">
<div class="controls"><hr />
<input type='submit' value='Refresh'
- i18n:attributes='value refresh-button'>
- <input type="submit" name="UPDATE_SUBMIT" value=" Add "
- tal:replace="structure context/renderAddButton|default"/>
+ 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="">
+ <b i18n:translate="">Object Name</b>
+ <input type='text' name='add_input_name'
+ tal:attributes="value context/contentName" />
+ </span>
</div>
</div>
More information about the Zope3-Checkins
mailing list