From 9cb8061beab9f38fefec4ff8850e0688d6828dc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nu=C5=A1a=20Puk=C5=A1i=C4=8D?= Date: Mon, 22 Sep 2025 19:14:56 +0200 Subject: [PATCH] Editor error fix, nicer --- templates/pages/editor.html.twig | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/templates/pages/editor.html.twig b/templates/pages/editor.html.twig index a940e60..e0e7654 100644 --- a/templates/pages/editor.html.twig +++ b/templates/pages/editor.html.twig @@ -13,9 +13,11 @@ {% block body %}
-
- Log in is required to post articles. + {% if not is_granted('ROLE_USER') %} +
+

Log in is required to post articles.

+ {% endif %}