gluon/package/gluon-web-model/files/lib/gluon/web/view/model/warning.html
2023-01-04 12:36:17 +01:00

15 lines
324 B
HTML

<%- if self.title or self.content then -%>
<div class="gluon-warning"<%=
attr("id", id) ..
attr("data-index", self.index) ..
attr("data-depends", self:deplist(self.deps))
%>>
<%- if self.content then -%>
<%=self.content%>
<%- else -%>
<b><%=self.title%></b><br>
<%=self.description%>
<%- end -%>
</div>
<%- end -%>