nevermind

<table>
        % for item in c.links:
            <tr>
               <td>${item}</td>
            </tr>
        % endfor
      </table>




On May 16, 4:02 pm, voltron <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I tnink this is for the Pylons group and not Mako, if I´m mistaken, I
> apologize
>
> given:
>
> c.links =["link1", "link2", "link3"]
>
> <table>
>         % for item in c.links:
>             <tr>
>                <td>c.links[item]}</td>
>             </tr>
>         % endfor
>       </table>
>
> How do I iterate over the list? My code above does not work.
>
> Thanks


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

Reply via email to