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 %}
|
||||
</tr></thead>
|
||||
{% endif %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
{% for field in form.visible_fields %}
|
||||
<td>
|
||||
{# Include the hidden fields in the form #}
|
||||
|
|
|
@ -65,7 +65,7 @@
|
|||
{% endfor %}
|
||||
</tr></thead>
|
||||
{% endif %}
|
||||
<tr class="{% cycle row1,row2 %}">
|
||||
<tr class="{% cycle 'row1' 'row2' %}">
|
||||
{% for field in form.visible_fields %}
|
||||
<td>
|
||||
{# Include the hidden fields in the form #}
|
||||
|
|
Loading…
Reference in New Issue