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 3f0274da..9a71a7f9 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,9 +1,14 @@ -<%- if self.content then -%> +<%- if self.title or self.content then -%>
> + <%- if self.content then -%> <%=self.content%> + <%- else -%> + <%=self.title%> + <%=self.description%> + <%- end -%>
<%- end -%>