From 41c55bb8071eccc3530884f9074378ce6e289b56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Valenta?= <git@imaniti.org>
Date: Thu, 23 Mar 2023 07:46:00 +0100
Subject: [PATCH] improve private info viewing

---
 contracts/templates/contracts/view_contract.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/contracts/templates/contracts/view_contract.html b/contracts/templates/contracts/view_contract.html
index fbd4b7e..2dd519a 100644
--- a/contracts/templates/contracts/view_contract.html
+++ b/contracts/templates/contracts/view_contract.html
@@ -143,7 +143,7 @@
                                 <ul class="flex gap-2">
                                     {% for file in files %}
                                         <li>
-                                            {% include "contracts/includes/tag.html" with url=file.protected_url icon="ico--attachment" content=file.name public=contract.is_public %}
+                                            {% include "contracts/includes/tag.html" with url=file.protected_url icon="ico--attachment" content=file.name public=file.is_public %}
                                         </li>
                                     {% endfor %}
                                 </ul>
-- 
GitLab