From 8ab0e1b1775f6d3a48c918684f8118ba34841197 Mon Sep 17 00:00:00 2001 From: reverend Date: Wed, 2 Sep 2020 00:25:31 +0200 Subject: [PATCH] only submitted can delete tags --- lostplaces/lostplaces_app/templates/partials/tagging.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lostplaces/lostplaces_app/templates/partials/tagging.html b/lostplaces/lostplaces_app/templates/partials/tagging.html index 38a274e..581055b 100644 --- a/lostplaces/lostplaces_app/templates/partials/tagging.html +++ b/lostplaces/lostplaces_app/templates/partials/tagging.html @@ -4,8 +4,9 @@
  • - {{tag}} + + {% if request.user and request.user == config.tagged_item.submitted_by %} @@ -15,6 +16,7 @@ + {% endif %}
  • {% endfor %}