changeset 277:9bfa7a6858f1

removed missing getFieldNames.
author casties
date Thu, 23 Feb 2012 21:37:37 +0100
parents 55bc9972fb1b
children 4ade9b80b563
files zpt/HTML_schema_table.zpt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/zpt/HTML_schema_table.zpt	Thu Feb 23 21:29:06 2012 +0100
+++ b/zpt/HTML_schema_table.zpt	Thu Feb 23 21:37:37 2012 +0100
@@ -15,7 +15,7 @@
     <table tal:attributes="id element_id">
       <thead>
         <tr>
-	    <th tal:repeat="field python:here.getFieldNames(fields)" tal:content="python:field.replace('st_astext','geometry',1)"/>
+	    <th tal:repeat="field fields" tal:content="python:field[0].replace('st_astext','geometry',1)"/>
 	   
         </tr>
       </thead>