Hmm... this is what I have in something I just did yesterday:
<tal:rep tal:repeat="i x.users">${i.userid}
<span tal:condition="not repeat.i.end">, </span>
</tal:rep>
Maybe that'll help?
-kb
On Sunday, January 26, 2014 5:36:05 PM UTC-7, chris strutton wrote:
>
> I have the following code in a `Chameleon` template:
>
> <span tal:repeat="menu view.site_menu">
> <tal:block tal:condition="menu.current">
> <span>${menu.title}</span>
> </tal:block>
> <tal:block tal:condition="not menu.current">
> <span><a href="/${menu.href}">${menu.title}</a></span>
> </tal:block>
> <tal:block tal:condition="not repeat/menu/end">
> <span> | </span>
> </tal:block>
> </span>
>
> When I try to render this page I get the following error:
>
> TypeError: unsupported operand type(s) for /: 'RepeatDict' and 'dict'
> - Expression: "not repeat/menu/end"
> ...
>
> Can anyone see what I am doing wrong here?
>
>
--
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/pylons-discuss.
For more options, visit https://groups.google.com/groups/opt_out.