diff options
author | Steven Barth <steven@midlink.org> | 2008-08-15 09:22:45 +0000 |
---|---|---|
committer | Steven Barth <steven@midlink.org> | 2008-08-15 09:22:45 +0000 |
commit | 8d9d419f846cb76dc8671ed1a75baa7103a6b39d (patch) | |
tree | 9bd07e2bff464d0239fc08e702886d79bfa370c3 /libs/cbi/luasrc/view | |
parent | 0a0c7ca2f91b84eedbdce318bc5915f86f00cf33 (diff) |
libs/cbi: Some fixes
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 %> |