From 5eff572ef59d545211aa162ed93fdf7620ccd95a Mon Sep 17 00:00:00 2001 From: Samuel Huang Date: Sat, 11 Jul 2020 22:43:00 -0700 Subject: [PATCH] Add link for each category badge --- places/templates/places/restaurant_detail.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/places/templates/places/restaurant_detail.html b/places/templates/places/restaurant_detail.html index a94718d..16df360 100644 --- a/places/templates/places/restaurant_detail.html +++ b/places/templates/places/restaurant_detail.html @@ -9,7 +9,8 @@

{{ restaurant.name }}

{% for category in restaurant.categories.all %} - {{ category.name }} + {{ category.name }} {% endfor %}