From 1f2289b41ed0d1d97e583a7e2931b1b37eb5d757 Mon Sep 17 00:00:00 2001 From: Steven Barth Date: Thu, 4 Sep 2008 09:55:46 +0000 Subject: libs/cbi: Use a Combobox for optional values if a section is dynamic and has defined optional fields --- libs/cbi/luasrc/view/cbi/ucisection.htm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index e129c9526e..e571cb212e 100644 --- a/libs/cbi/luasrc/view/cbi/ucisection.htm +++ b/libs/cbi/luasrc/view/cbi/ucisection.htm @@ -26,7 +26,20 @@ $Id$ <% if self.optionals[section] and #self.optionals[section] > 0 or self.dynamic then %>
<% if self.dynamic then %> - + + <% if self.optionals[section] and #self.optionals[section] > 0 then %> + + <% end %> <% else %>