<% if not self.embedded then %>
> <% end %>
<% if self.title and #self.title > 0 then %>

<%=self.title%>

<% end if self.description and #self.description > 0 then %>
<%=self.description%>
<% end if self.message then %>
<%=self.message%>
<% end if self.errmessage then %>
<%=self.errmessage%>
<% end self:render_children() %>
<% if not self.embedded then if type(self.hidden) == "table" then local k, v for k, v in pairs(self.hidden) do %><% end end local display_back = (self.redirect) local display_cancel = (self.cancel ~= false and self.on_cancel) local display_skip = (self.flow and self.flow.skip) local display_submit = (self.submit ~= false) local display_reset = (self.reset ~= false) if display_back or display_cancel or display_skip or display_submit or display_reset then %>
<% if display_back then %> <% end if display_cancel then local label = pcdata(self.cancel or translate("Cancel")) %> <% end if display_skip then %> <% end if display_submit then local label = pcdata(self.submit or translate("Submit")) %> <% end if display_reset then local label = pcdata(self.reset or translate("Reset")) %> <% end %>
<% end %>
<% end %>