diff --git a/mo/web/templates/org_user_edit.html b/mo/web/templates/org_user_edit.html
index 529f49da87dfe7fa9daedb8ca238d97dd4630db7..f2f7e5aa0111f74e0896cc35eed1d45ffb86228b 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>