[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser - test.pt:1.2
Erik
ersab@codeworks.lt
Thu, 8 Aug 2002 07:07:39 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv31041
Modified Files:
test.pt
Log Message:
Whitespace cleanups
Do not fail if an argument has no type/default value
=== Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/test.pt 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/test.pt:1.1 Wed Jul 10 20:03:18 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/test.pt Thu Aug 8 07:07:39 2002
@@ -10,9 +10,9 @@
<pre tal:content="context/getSource" />
<table border="1"
- tal:define="args context/getArguments"
+ tal:define="args context/getArguments"
tal:condition="args">
- <tbody>
+ <tbody>
<tr>
<th>Argument Name</th>
<th>Type</th>
@@ -21,19 +21,19 @@
<tr tal:repeat="arg python: args.keys()">
<td tal:content="arg"></td>
- <td tal:content="python: args[arg]['type'] or default"> </td>
+ <td tal:content="python: args[arg].get('type')"> </td>
<td><input type="text" name="" size="10" value=""
- tal:attributes="value python: args[arg]['default'] or None;
+ tal:attributes="value python: args[arg].get('default');
name arg"/></td>
</tr>
-
- </tbody>
+
+ </tbody>
</table>
-
+
<input type="submit" name="testResults.html:method" value="Test" />
-
- </form>
+
+ </form>
</div>
</body>