gluon/package/gluon-web-model/files/lib/gluon/web/view/model/section.html
2020-06-05 21:46:30 +02:00

12 lines
467 B
HTML

<fieldset class="gluon-section" id="<%=id%>" data-index="<%=self.index%>"<%= attr("data-depends", self:deplist()) %>>
<% if self.title and #self.title > 0 then -%>
<legend><%|self.title%></legend>
<%- end %>
<% if self.description and #self.description > 0 then -%>
<div class="gluon-section-descr"><%=self.description%></div>
<%- end %>
<div class="gluon-section-node" id="section-<%=id%>">
<% self:render_children(renderer, scope) %>
</div>
</fieldset>