[MKDoc-commit] [Petal] fix attribution and extend example (William McKee)

bruno at mkdoc.demon.co.uk bruno at mkdoc.demon.co.uk
Wed Mar 9 15:24:16 GMT 2005


Log Message:
-----------
[Petal] fix attribution and extend example (William McKee)

Modified Files:
--------------
    Petal/lib/Petal:
        Cookbook.pod

-------------- next part --------------
Index: Cookbook.pod
===================================================================
RCS file: /var/spool/cvs/Petal/lib/Petal/Cookbook.pod,v
retrieving revision 1.5
retrieving revision 1.6
diff -Llib/Petal/Cookbook.pod -Llib/Petal/Cookbook.pod -u -r1.5 -r1.6
--- lib/Petal/Cookbook.pod
+++ lib/Petal/Cookbook.pod
@@ -139,7 +139,7 @@
 
          http://www.zope.org/Wikis/DevSite/Projects/ZPT/TAL
 
-Thanks to Warren Smith for this tip and Fergal Daly for his knowledge of the TAL specification.
+Thanks to Fergal Daly for his knowledge of the TAL specification.
 
 
 =head2 Generating even/odd rows (submitted by Warren Smith)
@@ -153,11 +153,13 @@
 Example:
 
   <table>
-    <tr tal:attr="class decode: repeat/even 1 'even' 'odd'">...</tr>
+    <tr tal:repeat="emp employees" tal:attr="class decode: repeat/even 1 'even' 'odd'">
+      <td tal:content="emp/name">Employee Name</td>
+      ...
+    </tr>
   </table>
 
-
-Thanks to Warren Smith for this tip. See L<Petal::Utils|Petal::Utils> for more information.
+See L<Petal::Utils|Petal::Utils> for more information.
 
 
 


More information about the MKDoc-commit mailing list