﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
13078	'cycle' in 'for x in y' Interpretation Problem	Henning	nobody	"Hi there,

using a nested for x in y and a cylce i experienced some issues. My code looks similar to this:

{{{

{% for x,y in z %}
<!-- {% cycle 'cylce_white' 'cycle_grey' as rowcolors %} -->

<tr> 
	<td class=""{{ rowcolors }}""> some table</td>
	<td class=""{{ rowcolors }}""/> some more tables... </td>

	{% for a in y %}
        <tr>
            <td class=""{{ rowcolors }}""> some INNER table</td>
	    <td class=""{{ rowcolors }}""/> some INNER more tables... </td>
	</tr>
	{% endfor %}
</tr>
{% endfor %}
}}}



So what i want is the inner tables in the same css style like the outer ones - than cycle. I know i can solve this through css. 

Question: If i do not comment out the cylce statement in the beginning: ""cycle 'bla' 'bla2' as 'blax' "" the cycled value (here 'bla' and 'bla2' are readable in the page. Is that right? Am i doing sth. wrong here?

Python 2.6 (OSX Snow-Leo), Django 1.1.1, FireFox
 "		closed	HTTP handling	1.1		invalid	'cycle' 'for x in y'  'nested'		Unreviewed	0	0	0	0	0	0
