comparison zpt/HTML_schema_table.zpt @ 277:9bfa7a6858f1

removed missing getFieldNames.
author casties
date Thu, 23 Feb 2012 21:37:37 +0100
parents d1b43624cc63
children
comparison
equal deleted inserted replaced
276:55bc9972fb1b 277:9bfa7a6858f1
13 <h2>table <span tal:replace="table"/></h2> 13 <h2>table <span tal:replace="table"/></h2>
14 <tal:block tal:condition="python:layout=='table'"> 14 <tal:block tal:condition="python:layout=='table'">
15 <table tal:attributes="id element_id"> 15 <table tal:attributes="id element_id">
16 <thead> 16 <thead>
17 <tr> 17 <tr>
18 <th tal:repeat="field python:here.getFieldNames(fields)" tal:content="python:field.replace('st_astext','geometry',1)"/> 18 <th tal:repeat="field fields" tal:content="python:field[0].replace('st_astext','geometry',1)"/>
19 19
20 </tr> 20 </tr>
21 </thead> 21 </thead>
22 <tbody> 22 <tbody>
23 <tr tal:repeat="row rows"> 23 <tr tal:repeat="row rows">