From a0f76898d062cb1733d956db06a38435283e7b6a Mon Sep 17 00:00:00 2001
From: Martin Mares <mj@ucw.cz>
Date: Sat, 25 Jan 2025 00:05:23 +0100
Subject: [PATCH] =?UTF-8?q?Kosmetick=C3=A1=20=C3=BAprava=20str=C3=A1nky=20?=
 =?UTF-8?q?na=20editaci=20=C3=BA=C4=8Dtu?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
 mo/web/templates/org_user_edit.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mo/web/templates/org_user_edit.html b/mo/web/templates/org_user_edit.html
index 529f49da..f2f7e5aa 100644
--- a/mo/web/templates/org_user_edit.html
+++ b/mo/web/templates/org_user_edit.html
@@ -16,7 +16,7 @@
 <tr><td>Poznámka:</td><td style="white-space: pre-line;">{{ user.note }}</td></tr>
 </table>
 
-<a href='{% if is_org %}{{ url_for('org_org', id=user.user_id) }}{% else %}{{ url_for('org_user', id=user.user_id) }}{% endif %}'>Zpět na detail</a>
+<a class='btn btn-default' href='{{ user|user_url }}'>Zpět na detail</a>
 
 <hr>
 
-- 
GitLab