* luci/libs/cbi: fix syntax error in mvalue template
This commit is contained in:
parent
05d3bf06b4
commit
18f0ebfd8b
1 changed files with 1 additions and 1 deletions
|
@ -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 %>
|
||||
|
|
Loading…
Reference in a new issue