Why this doesn't work:

<tal:block tal:repeat="player players">
<div tal:condition="repeat/player/index LT 7" tal:content="player/name" />
</tal:block>

But it works:

<tal:block tal:repeat="player players">
<div tal:condition="php:repeat.player.index LT 7" tal:content="player/name" />
</tal:block>


?
Repeat variables, such as key, index etc. works only in 'php:'?

cheers,
szymek

_______________________________________________
PHPTAL mailing list
PHPTAL@lists.motion-twin.com
http://lists.motion-twin.com/mailman/listinfo/phptal

Reply via email to