Closed mickaelmarin closed 5 years ago
Hi,
The pypi version of djangocms_bootstrap4 have and error in default template file "carousel.html"
<ol class="carousel-indicators"> {% for plugin in instance.child_plugin_instances %} <li data-target="#carousel-{{ instance.pk }}" data-slide-to="{{ **forloop.counter** }}" # replace by **forloop.counter0** {% if forloop.first %} class="active"{% endif %}> </li> {% endfor %} </ol> thanks
<ol class="carousel-indicators"> {% for plugin in instance.child_plugin_instances %} <li data-target="#carousel-{{ instance.pk }}" data-slide-to="{{ **forloop.counter** }}" # replace by **forloop.counter0** {% if forloop.first %} class="active"{% endif %}> </li> {% endfor %} </ol>
Fixed in https://github.com/divio/djangocms-bootstrap4/commit/8d2663f04b23a5c39a2225426f299bd201df82c4
Released in 1.1.0
Hi,
The pypi version of djangocms_bootstrap4 have and error in default template file "carousel.html"
<ol class="carousel-indicators"> {% for plugin in instance.child_plugin_instances %} <li data-target="#carousel-{{ instance.pk }}" data-slide-to="{{ **forloop.counter** }}" # replace by **forloop.counter0** {% if forloop.first %} class="active"{% endif %}> </li> {% endfor %} </ol>
thanks