Bootstrap makes the need of the {% cycle %} tag obsolete, remove from templates.
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
{% for field in form.hidden_fields %}
|
||||
{{ field }}
|
||||
{% endfor %}
|
||||
<tr class="{% cycle 'odd' 'even2' %}">
|
||||
<tr>
|
||||
{% for field in form.visible_fields %}
|
||||
<td title="{% if field.errors %}{% for error in field.errors %}{{ error }}{% if not forloop.last %} | {% endif %}{% endfor %}{% else %}{{ field.help_text }}{% endif %}">
|
||||
{% if field.errors %}<div class="has-error">{% endif %}
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
</tr>
|
||||
{% endif %}
|
||||
{% for object in object_list %}
|
||||
<tr class="{% cycle 'odd' 'even2' %}">
|
||||
<tr>
|
||||
|
||||
{% if multi_item_actions %}
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user