From b8e4d98b0500249e00d8d0ff7bb91d4cafcf3e74 Mon Sep 17 00:00:00 2001 From: Hubert Jankowski Date: Sun, 15 May 2022 23:57:42 +0200 Subject: [PATCH] user type --- templates/base.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/base.html b/templates/base.html index 3e61332..f5d30f3 100644 --- a/templates/base.html +++ b/templates/base.html @@ -19,6 +19,9 @@ Strona główna Popularne Trudne + {% if user.type == "admin" %} + Stwórz turniej + {% endif %} Turnieje
Stwórz test