* luci/libs/cbi: fix syntax error in mvalue template
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 15 Jul 2008 22:09:53 +0000 (22:09 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 15 Jul 2008 22:09:53 +0000 (22:09 +0000)
libs/cbi/luasrc/view/cbi/mvalue.htm

index 092d229..f536608 100644 (file)
@@ -27,7 +27,7 @@ local v = self:valuelist(section)
        for i, key in pairs(self.keylist) do
        c = c + 1
 %>
-       <input type="checkbox"<%= attr("id", cbid..c) .. attr("name", cbid) .. attr("value", key) .. ifattr(luci.util.contains(v, key), "checked", "checked") />
+       <input type="checkbox"<%= attr("id", cbid..c) .. attr("name", cbid) .. attr("value", key) .. ifattr(luci.util.contains(v, key), "checked", "checked") %> />
        <label<%= attr("for", cbid..c) %>><%=self.vallist[i]%></label><br />
 <% if c == self.size then c = 0 %><br />
 <% end end %>