From ea410df1e92de8200229f7b69b48b47850eee657 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Kr=C3=BCger?= Date: Fri, 27 May 2022 15:56:33 +0200 Subject: [PATCH] fixup! model show warning only if content --- .../gluon-web-model/files/lib/gluon/web/view/model/warning.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/package/gluon-web-model/files/lib/gluon/web/view/model/warning.html b/package/gluon-web-model/files/lib/gluon/web/view/model/warning.html index c0e476ed..61202fab 100644 --- a/package/gluon-web-model/files/lib/gluon/web/view/model/warning.html +++ b/package/gluon-web-model/files/lib/gluon/web/view/model/warning.html @@ -1,3 +1,5 @@ +<%- if self.content then -%>
<%=self.content%>
+<%- end -%>