[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser - add_module.pt:1.2 edit_module.pt:1.2
Jim Fulton
jim@zope.com
Mon, 7 Oct 2002 12:52:17 -0400
Update of /cvs-repository/Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser
In directory cvs.zope.org:/tmp/cvs-serv4873
Modified Files:
add_module.pt edit_module.pt
Log Message:
Added :text data type qualifier to source text fields so that carriage
returns are removed by the publisher. Also empties the text area used
by the add form.
=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/add_module.pt 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/add_module.pt:1.1 Wed Oct 2 18:17:38 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/add_module.pt Mon Oct 7 12:52:16 2002
@@ -7,8 +7,7 @@
<form action="action.html">
<input name="name">
-<textarea name="source" cols="65" rows="25">
-</textarea>
+<textarea name="source:text" cols="65" rows="25"></textarea>
<input type="submit" value="Add module"/>
</form>
=== Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/edit_module.pt 1.1 => 1.2 ===
--- Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/edit_module.pt:1.1 Wed Oct 2 18:18:00 2002
+++ Zope3/lib/python/Zope/App/OFS/Services/ServiceManager/Views/Browser/edit_module.pt Mon Oct 7 12:52:16 2002
@@ -8,8 +8,9 @@
<form action="edit.html">
<span tal:replace="view/update"></span>
<p>Module: <span tal:content="context/name">Module Name</span></p>
-<textarea name="source" cols="65" rows="25" tal:content="context/source">
-</textarea>
+<textarea name="source:text" cols="65" rows="25"
+ tal:content="context/source"
+></textarea>
<input type="submit" value="Edit"/>
</form>