> <body>
> <table border="1">
> <th>File</th><th>Status</th><th>Last Updated</
> th><th>Error Code</th><th>Pass QC</th>
> <tr py:for="file in files">
> <td>${file.filename}</td>
> <td>${file.state}</td>
> <td>${file.date}</td>
> <td>${file.errno}</td>
> <td>${checkbox.display(value=file.pass_qc==0)}</td>
> </tr>
> </table>
> </body>
As a side note I would recomment you use a slightly different syntax
for your kid template. In place of
<td>${file.filename}</td>
I would use
<td py:content="file.filename">file name here</td>
Basically try to replace any $variable by py:content="variable" declarations.
This is cleaner xml wise, will work with HTML editors _and_ will
optimize your rendering speed a little bit.
Cheers,
Florent.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---