<% self:render_children(1, scope or {}) %>
<% if self.error and self.error[1] then -%>
<% for _, e in ipairs(self.error[1]) do -%>
-
<%- if e == "invalid" then -%>
<%:One or more fields contain invalid values!%>
<%- elseif e == "missing" then -%>
<%:One or more required fields have no value!%>
<%- else -%>
<%=pcdata(e)%>
<%- end -%>
<%- end %>
<%- end %>