From 8d9d419f846cb76dc8671ed1a75baa7103a6b39d Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 15 Aug 2008 09:22:45 +0000 Subject: libs/cbi: Some fixes --- libs/cbi/luasrc/view/cbi/nullsection.htm | 20 ++++++++++++++++++++ libs/cbi/luasrc/view/cbi/simpleform.htm | 7 +------ 2 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 libs/cbi/luasrc/view/cbi/nullsection.htm (limited to 'libs/cbi/luasrc/view') 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 +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$ + +-%> +
+
+ <% self:render_children(1, scope or {}) %> +
+
+
\ 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$

<%=self.title%>

<%=self.description%>
-
-
- <% self:render_children(1, scope or {}) %> -
-
-
+ <% self:render_children() %>
<%- if self.message then %> -- cgit v1.2.3