[Zope3-checkins] CVS: Zope3/src/zope/app/browser/container - add.pt:1.7
Guido van Rossum
guido@python.org
Mon, 28 Apr 2003 18:00:06 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/container
In directory cvs.zope.org:/tmp/cvs-serv1919
Modified Files:
add.pt
Log Message:
Simpler way to get the desired effect.
=== Zope3/src/zope/app/browser/container/add.pt 1.6 => 1.7 ===
--- Zope3/src/zope/app/browser/container/add.pt:1.6 Mon Apr 28 17:50:17 2003
+++ Zope3/src/zope/app/browser/container/add.pt Mon Apr 28 18:00:06 2003
@@ -7,19 +7,15 @@
<caption i18n:translate="">Add Content</caption>
- <tbody tal:define="infos view/addingInfo; checked python:len(infos)==1">
+ <tbody tal:define="infos view/addingInfo">
<tr tal:repeat="info infos">
<td class="Selector">
- <input tal:condition="checked"
- type="radio" name="type_name" checked
+ <input type="radio" name="type_name" checked
tal:attributes="value info/action;
- id info/action" />
- <input tal:condition="not:checked"
- type="radio" name="type_name"
- tal:attributes="value info/action;
- id info/action" />
+ id info/action;
+ checked python:len(infos)==1" />
</td>
<td class="TypeName">