>     <title>${title}</title>
>     <h1>${title}</h1>
> <?py include(':footer') ?>
> <?py i = 0 ?>
> <?py for item in items: ?>
> <?py     i += 1 ?>
> <?py     color = i % 2 and '#FFCCCC' or '#CCCCFF' ?>
>   <tr bgcolor="#{color}">
>     <td>#{i}</td>
>     <td>${item}</td>
>   </tr>
> <?py #endfor ?>

@Makato
I am afraid "<?py include(':footer') ?>", "<?py i = 0 ?>" or  ${title}
don't
feet in with the Zen of web.py

This is just my opinion.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web.py" 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/webpy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to