diff options
Diffstat (limited to 'libs/cbi/luasrc/view')
-rw-r--r-- | libs/cbi/luasrc/view/cbi/nullsection.htm | 20 | ||||
-rw-r--r-- | libs/cbi/luasrc/view/cbi/simpleform.htm | 7 |
2 files changed, 21 insertions, 6 deletions
diff --git a/libs/cbi/luasrc/view/cbi/nullsection.htm b/libs/cbi/luasrc/view/cbi/nullsection.htm new file mode 100644 index 0000000000..b01a6a9f58 --- /dev/null +++ b/libs/cbi/luasrc/view/cbi/nullsection.htm @@ -0,0 +1,20 @@ +<%# +LuCI - Lua Configuration Interface +Copyright 2008 Steven Barth <steven@midlink.org> +Copyright 2008 Jo-Philipp Wich <xm@leipzig.freifunk.net> + +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$ + +-%> + <fieldset class="cbi-section"> + <div class="cbi-section-node"> + <% self:render_children(1, scope or {}) %> + </div> + <br /> + </fieldset>
\ No newline at end of file diff --git a/libs/cbi/luasrc/view/cbi/simpleform.htm b/libs/cbi/luasrc/view/cbi/simpleform.htm index d2ae401c92..0b22701971 100644 --- a/libs/cbi/luasrc/view/cbi/simpleform.htm +++ b/libs/cbi/luasrc/view/cbi/simpleform.htm @@ -21,12 +21,7 @@ $Id$ <div class="cbi-map" id="cbi-<%=self.config%>"> <h1><%=self.title%></h1> <div class="cbi-map-descr"><%=self.description%></div> - <fieldset class="cbi-section"> - <div class="cbi-section-node"> - <% self:render_children(1, scope or {}) %> - </div> - <br /> - </fieldset> + <% self:render_children() %> <br /> </div> <%- if self.message then %> |