Added first PlaceImage to PlaceList.

This commit is contained in:
Marcus Scholz 2020-07-27 22:00:51 +02:00
parent 3c92bc93cd
commit b027f9d476

View File

@ -7,7 +7,7 @@
<li class="LP-Place__Item"> <li class="LP-Place__Item">
<a href="{% url 'place_detail' pk=place.pk %}" class="LP-Link"> <a href="{% url 'place_detail' pk=place.pk %}" class="LP-Link">
<article class="LP-Place"> <article class="LP-Place">
<img class="LP-Place__Image" src="/images/photo_2020-04-09_18-27-13.jpg" /> <img class="LP-Place__Image" src="{{ place.images.first.filename.url }}" />
<div class="LP-Place__Assets"> <div class="LP-Place__Assets">
<div class="LP-Place__Info"> <div class="LP-Place__Info">
<h3 class="LP-Place__Title">{{place.name}}</h3> <h3 class="LP-Place__Title">{{place.name}}</h3>