[Zope3-checkins] CVS: Zope3/src/zope/app/utilities -
edit.pt:1.1.2.3 schema.py:1.1.2.6
Stephan Richter
srichter at cosmos.phy.tufts.edu
Wed Aug 13 11:01:17 EDT 2003
Update of /cvs-repository/Zope3/src/zope/app/utilities
In directory cvs.zope.org:/tmp/cvs-serv644/utilities
Modified Files:
Tag: dreamcatcher-ttwschema-branch
edit.pt schema.py
Log Message:
Added a header showing the Schema name
=== Zope3/src/zope/app/utilities/edit.pt 1.1.2.2 => 1.1.2.3 ===
--- Zope3/src/zope/app/utilities/edit.pt:1.1.2.2 Tue Aug 12 10:31:29 2003
+++ Zope3/src/zope/app/utilities/edit.pt Wed Aug 13 10:01:11 2003
@@ -4,6 +4,11 @@
<div metal:define-macro="body">
+ <h3 i18n:translate="">
+ Schema Name:
+ <span tal:content="view/name" i18n:name="schema_name"/>
+ </h3>
+
<form action="." tal:attributes="action request/URL" method="POST"
enctype="multipart/form-data">
=== Zope3/src/zope/app/utilities/schema.py 1.1.2.5 => 1.1.2.6 ===
--- Zope3/src/zope/app/utilities/schema.py:1.1.2.5 Wed Aug 13 09:51:18 2003
+++ Zope3/src/zope/app/utilities/schema.py Wed Aug 13 10:01:11 2003
@@ -128,6 +128,9 @@
errors = ()
update_status = None
+ def name(self):
+ return self.context.getName()
+
def fieldNames(self):
return getFieldNamesInOrder(self.context)
More information about the Zope3-Checkins
mailing list