X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;ds=sidebyside;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Flvalue.htm;h=cb41f53d1325d3387faf505b260c064ec1a5cf63;hb=94a968e62fba7c6a8bead83db339e525d6a9d39a;hp=637151e7b24814b09d4b82cf35ee3140f9cd1a3d;hpb=15886656187565d990230b681cdcd1221ffc3d8b;p=project%2Fluci.git
diff --git a/libs/cbi/luasrc/view/cbi/lvalue.htm b/libs/cbi/luasrc/view/cbi/lvalue.htm
index 637151e7b..cb41f53d1 100644
--- a/libs/cbi/luasrc/view/cbi/lvalue.htm
+++ b/libs/cbi/luasrc/view/cbi/lvalue.htm
@@ -14,18 +14,19 @@ $Id$
-%>
<%+cbi/valueheader%>
<% if self.widget == "select" then %>
-
+
<% elseif self.widget == "radio" then
- local c = 0;
+ local c = 0
for i, key in pairs(self.keylist) do
- c = c + 1%>
- " name="cbid.<%=self.config.."."..section.."."..self.option%>"<% if self:cfgvalue(section) == key then %> checked="checked"<% end %> value="<%=key%>" />
-
+ c = c + 1
+%>
+ />
+
<% if c == self.size then c = 0 %>
<% end end %>
<% end %>
-<%+cbi/valuefooter%>
\ No newline at end of file
+<%+cbi/valuefooter%>