[Zope3-checkins] CVS: Zope3/src/zope/app/pythonpage - edit.pt:1.4

Garrett Smith garrett at mojave-corp.com
Fri May 7 15:38:01 EDT 2004


Update of /cvs-repository/Zope3/src/zope/app/pythonpage
In directory cvs.zope.org:/tmp/cvs-serv30692/src/zope/app/pythonpage

Modified Files:
	edit.pt 
Log Message:
Replaced widget rows implementation with use of standard macro.


=== Zope3/src/zope/app/pythonpage/edit.pt 1.3 => 1.4 ===
--- Zope3/src/zope/app/pythonpage/edit.pt:1.3	Tue Mar 23 17:07:49 2004
+++ Zope3/src/zope/app/pythonpage/edit.pt	Fri May  7 15:38:00 2004
@@ -52,12 +52,9 @@
             <div class="label">Extra top</div>
             <div class="field"><input type="text" style="width:100%" /></div>
         </div>
-        <div class="row"
-             metal:define-macro="widget_rows" tal:repeat="widget view/widgets"
-             tal:content="structure widget/row">
-            <div class="label">Name</div>
-            <div class="field"><input type="text" style="width:100%" /></div>
-        </div>
+        
+        <div metal:use-macro="context/@@form_macros/widget_rows" />
+        
         <div class="separator"></div>
         <div class="row"
              metal:define-slot="extra_bottom" tal:replace="nothing">




More information about the Zope3-Checkins mailing list