From 61cf14841702e8b1c8ac85ffc619435a6afc2159 Mon Sep 17 00:00:00 2001 From: reverend Date: Thu, 24 Dec 2020 16:43:33 +0100 Subject: [PATCH] Displaying favorite icon on detail page --- django_lostplaces/lostplaces/templates/place/place_detail.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/django_lostplaces/lostplaces/templates/place/place_detail.html b/django_lostplaces/lostplaces/templates/place/place_detail.html index 6d91170..7ddbda1 100644 --- a/django_lostplaces/lostplaces/templates/place/place_detail.html +++ b/django_lostplaces/lostplaces/templates/place/place_detail.html @@ -23,7 +23,7 @@
-

{{ place.name }}

+

{{ place.name }} {% include 'partials/icons/place_favorite.html' %}

{% if place.placeimages.first.filename.hero.url %}