From: Steven Barth Date: Thu, 4 Sep 2008 09:55:46 +0000 (+0000) Subject: libs/cbi: Use a Combobox for optional values if a section is dynamic and has defined... X-Git-Tag: 0.8.0~163 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1f2289b41ed0d1d97e583a7e2931b1b37eb5d757;p=oweals%2Fluci.git libs/cbi: Use a Combobox for optional values if a section is dynamic and has defined optional fields --- diff --git a/libs/cbi/luasrc/view/cbi/ucisection.htm b/libs/cbi/luasrc/view/cbi/ucisection.htm index e129c9526..e571cb212 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 %>