From 1c401532ada968a09ab771a564d0af1e0cc06bb7 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Mon, 27 Jul 2020 21:00:26 +0200 Subject: [PATCH] Added dynamic PlaceImage output in template. --- .../templates/placeOverview.html | 21 ++++--------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/source/lostplaces/lostplaces_app/templates/placeOverview.html b/source/lostplaces/lostplaces_app/templates/placeOverview.html index ba2bfe4..5770103 100644 --- a/source/lostplaces/lostplaces_app/templates/placeOverview.html +++ b/source/lostplaces/lostplaces_app/templates/placeOverview.html @@ -7,7 +7,7 @@
- +

{{place.name}}

@@ -61,24 +61,11 @@

Bilder

    + {% for place_image in place.images.all %}
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - -
  • -
  • - +
  • + {% endfor %}