[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser - SQLScriptEdit.py:1.5 edit.pt:1.3
Erik
ersab@codeworks.lt
Thu, 8 Aug 2002 07:05:54 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv30820/Views/Browser
Modified Files:
SQLScriptEdit.py edit.pt
Log Message:
Whitespace cleanups
=== Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/SQLScriptEdit.py 1.4 => 1.5 ===
--- Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/SQLScriptEdit.py:1.4 Fri Jul 19 09:12:33 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/SQLScriptEdit.py Thu Aug 8 07:05:54 2002
@@ -2,21 +2,21 @@
#
# Copyright (c) 2001, 2002 Zope Corporation and Contributors.
# All Rights Reserved.
-#
+#
# This software is subject to the provisions of the Zope Public License,
# Version 2.0 (ZPL). A copy of the ZPL should accompany this distribution.
# THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
# WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
# WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
# FOR A PARTICULAR PURPOSE.
-#
+#
##############################################################################
"""
$Id$
"""
from Zope.App.PageTemplate import ViewPageTemplateFile
-from Zope.App.Forms.Views.Browser import Widget
-from Zope.App.Forms.Widget import CustomWidget
+from Zope.App.Forms.Views.Browser import Widget
+from Zope.App.Forms.Widget import CustomWidget
from Zope.App.Forms.Views.Browser.FormView import FormView
class SQLScriptEdit(FormView):
=== Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/edit.pt 1.2 => 1.3 ===
--- Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/edit.pt:1.2 Fri Jul 19 09:12:33 2002
+++ Zope3/lib/python/Zope/App/OFS/Content/SQLScript/Views/Browser/edit.pt Thu Aug 8 07:05:54 2002
@@ -2,14 +2,14 @@
<body>
<div metal:fill-slot="body">
- <p>This edit form allows you to make changes to the properties
+ <p>This edit form allows you to make changes to the properties
of this sql script.</p>
- <div tal:condition="python: options.has_key('errors') and
+ <div tal:condition="python: options.has_key('errors') and
options['errors']">
<span style="font-weight: bold">Errors:</span>
<div tal:repeat="error options/errors | nothing">
- <span tal:replace="python: error[0].title" />:
+ <span tal:replace="python: error[0].title" />:
<span tal:replace="python: error[1].error_name" />
</div>
</div>
@@ -17,21 +17,21 @@
<form action="./edit.html" method="post" enctype="multipart/form-data">
<input type="hidden" name="nextURL" value=""
- tal:attributes="value request/URL" />
+ tal:attributes="value request/URL" />
<table class="EditTable">
<tal:block repeat="field view/getFields">
<tr>
<th class="EditAttributeName"
tal:content="field/title">Title</th>
- <td class="EditAttributeValue"
+ <td class="EditAttributeValue"
tal:content="structure python: view.renderField(field)">
<input size="20" />
- </td>
+ </td>
</tr>
- </tal:block>
+ </tal:block>
</table>
-
+
<input type="submit" name="save" value="Save Changes" />
</form>