gluon-web-model: fix passing additional variables from form template to sections

This is currently unused in our packages.
This commit is contained in:
Matthias Schiffer 2020-05-09 00:46:05 +02:00 committed by Andreas Ziegler
parent 3951607e53
commit 35950b44b7

View File

@ -5,7 +5,7 @@
<div class="gluon-form" id="form-<%=id%>"> <div class="gluon-form" id="form-<%=id%>">
<% if self.title and #self.title > 0 then %><h2 name="content"><%|self.title%></h2><% end %> <% if self.title and #self.title > 0 then %><h2 name="content"><%|self.title%></h2><% end %>
<% if self.description and #self.description > 0 then %><div class="gluon-form-descr"><%=self.description%></div><% end %> <% if self.description and #self.description > 0 then %><div class="gluon-form-descr"><%=self.description%></div><% end %>
<% self:render_children(renderer) %> <% self:render_children(renderer, scope) %>
</div> </div>
<%- if self.message then %> <%- if self.message then %>
<div><%|self.message%></div> <div><%|self.message%></div>