Updated cycles template tag for dj 1.10.x compatibility
This commit is contained in:
parent
a737ed68e7
commit
b179b5f2d3
|
@ -51,7 +51,7 @@ class AdminFormSet(BaseModelFormSet):
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr class="{% cycle row1,row2 %}">
|
<tr class="{% cycle 'row1' 'row2' %}">
|
||||||
{% for field in form.visible_fields %}
|
{% for field in form.visible_fields %}
|
||||||
<td>
|
<td>
|
||||||
{# Include the hidden fields in the form #}
|
{# Include the hidden fields in the form #}
|
||||||
|
|
|
@ -65,7 +65,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tr></thead>
|
</tr></thead>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr class="{% cycle row1,row2 %}">
|
<tr class="{% cycle 'row1' 'row2' %}">
|
||||||
{% for field in form.visible_fields %}
|
{% for field in form.visible_fields %}
|
||||||
<td>
|
<td>
|
||||||
{# Include the hidden fields in the form #}
|
{# Include the hidden fields in the form #}
|
||||||
|
|
Loading…
Reference in New Issue