<%# LuCI - Lua Configuration Interface Copyright 2008 Steven Barth Copyright 2008 Jo-Philipp Wich Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 $Id$ -%> <% 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 %> <% self:render_children() %>
<%- if self.message then %>
<%=self.message%>
<%- end %> <%- if self.errmessage then %>
<%=self.errmessage%>
<%- end %> <% if not self.embedded then %>
<%- if type(self.hidden) == "table" then for k, v in pairs(self.hidden) do -%> <%- end end %> <%- if self.flow and self.flow.skip then %> <% end %> <%- if self.submit ~= false then %> <% end %> <%- if self.reset ~= false then %> <% end %> <%- if self.cancel ~= false and self.on_cancel then %> <% end %>
<% end %>