X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=modules%2Fbase%2Fluasrc%2Fview%2Fcbi%2Flvalue.htm;fp=modules%2Fbase%2Fluasrc%2Fview%2Fcbi%2Flvalue.htm;h=8cc086db422b2807f49f4700cb0a5b589570c06b;hp=0000000000000000000000000000000000000000;hb=d4dc08dcb219a278a94e68aa87c13bca6361eeca;hpb=8c866ce4527f22d413fca3a46691ea31c58154c5
diff --git a/modules/base/luasrc/view/cbi/lvalue.htm b/modules/base/luasrc/view/cbi/lvalue.htm
new file mode 100644
index 000000000..8cc086db4
--- /dev/null
+++ b/modules/base/luasrc/view/cbi/lvalue.htm
@@ -0,0 +1,18 @@
+<%+cbi/valueheader%>
+<% if self.widget == "select" then %>
+
+<% elseif self.widget == "radio" then
+ local c = 0
+ for i, key in pairs(self.keylist) do
+ c = c + 1
+%>
+ />
+
+<% if c == self.size then c = 0 %><% if self.orientation == "horizontal" then %> <% else %> <% end %>
+<% end end %>
+<% end %>
+<%+cbi/valuefooter%>