Fix html syntax in rollingstock.html

This commit is contained in:
2023-10-27 22:58:24 +02:00
parent 168b424df7
commit 84cdee42a6
2 changed files with 8 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
<img class="card-img-top" src="{{ d.item.image.url }}" alt="{{ d }}">
{% else %}
{% with d.item.consist_item.first.rolling_stock as r %}
<img class="card-img-top" src="{{ r.image.first.image.url }}" alt="{{ d }}"></a>
<img class="card-img-top" src="{{ r.image.first.image.url }}" alt="{{ d }}">
{% endwith %}
{% endif %}
</a>