From fb2a9a328d619ecf329e64cb500ff1385e3f8290 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Fri, 28 Mar 2008 11:00:58 +0000 Subject: * CBI: Generalized templates * admin > network > ifaces: Set default value for protocol allowing new sections to be created. --- src/ffluci/view/cbi/nsection.htm | 30 +++++------------------------- 1 file changed, 5 insertions(+), 25 deletions(-) (limited to 'src/ffluci/view/cbi/nsection.htm') diff --git a/src/ffluci/view/cbi/nsection.htm b/src/ffluci/view/cbi/nsection.htm index 90dbb30414..9c54a99429 100644 --- a/src/ffluci/view/cbi/nsection.htm +++ b/src/ffluci/view/cbi/nsection.htm @@ -1,32 +1,12 @@ -<% if self:cfgvalue(self.section) then %> -
+<% if self:cfgvalue(self.section) then +section = self.section %> +

<%=self.title%>

<%=self.description%>
<% if self.addremove then %>
- +
<% end %> -
-<% self:render_children(self.section) %> - <% if #self.optionals[self.section] > 0 or self.dynamic then %> -
- - <% if self.dynamic then %> - - <% else %> - - - <% end %> -
- <% end %> -
+<%+cbi/ucisection%>
<% elseif self.addremove then %>
-- cgit v1.2.3