исправил отображение номера картинки на главной
This commit is contained in:
parent
4f9b2e2d2b
commit
20fe040626
@ -11,7 +11,7 @@
|
|||||||
<div class="carousel-indicators">
|
<div class="carousel-indicators">
|
||||||
{% for film in films_preview %}
|
{% for film in films_preview %}
|
||||||
<button type="button" data-bs-target="#carouselWhite" data-bs-slide-to="{{ forloop.counter0 }}"
|
<button type="button" data-bs-target="#carouselWhite" data-bs-slide-to="{{ forloop.counter0 }}"
|
||||||
class="active"
|
class="{% if forloop.counter0 == 0 %} active {% endif %}"
|
||||||
aria-current="true" aria-label="{{film.name|truncatewords_html:5}}"></button>
|
aria-current="true" aria-label="{{film.name|truncatewords_html:5}}"></button>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user