From a2a4000e9100daee2bd3fdfa044a4c505e2630c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miko=C5=82aj=20Pich?= Date: Tue, 23 May 2023 13:29:11 +0200 Subject: [PATCH] Don't show error div message if there is no error messsage on login form --- src/views/login-form.pug | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/login-form.pug b/src/views/login-form.pug index 43280ad..7ea6b9d 100644 --- a/src/views/login-form.pug +++ b/src/views/login-form.pug @@ -28,4 +28,5 @@ block content div input(type="submit" value="Zaloguj siÄ™ >") - div.ErrorMessage= message + if (message) + div.ErrorMessage= message