From f2eb048f0b92ce56714708a07589111a4ab3835d Mon Sep 17 00:00:00 2001 From: reverend Date: Tue, 6 Apr 2021 19:14:58 +0200 Subject: [PATCH] Small check is this partial is used within place --- .../lostplaces/templates/partials/placeImageGrid.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/django_lostplaces/lostplaces/templates/partials/placeImageGrid.html b/django_lostplaces/lostplaces/templates/partials/placeImageGrid.html index 0e432e5..e974a68 100644 --- a/django_lostplaces/lostplaces/templates/partials/placeImageGrid.html +++ b/django_lostplaces/lostplaces/templates/partials/placeImageGrid.html @@ -33,10 +33,12 @@ {% endfor %} + {% if place %}
  • - +
  • + {% endif %} \ No newline at end of file