diff --git a/djangocms_navigation/admin.py b/djangocms_navigation/admin.py index 9885b43c1..f5f6f294b 100644 --- a/djangocms_navigation/admin.py +++ b/djangocms_navigation/admin.py @@ -443,9 +443,9 @@ def _get_delete_link(self, obj, request, disabled=False): name="discard", disabled=disabled, ) - + return render_to_string( - "djangocms_versioning/admin/icons/discard_icon.html", + "djangocms_versioning/admin/discard_icon.html", {"discard_url": delete_url, "disabled": disabled, "object_id": obj.id}, )