summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2015-12-15 23:08:17 +0100
committerJo-Philipp Wich <jow@openwrt.org>2015-12-15 23:08:17 +0100
commitf25c4e07bc9642e0491d3a4ab3942a69545891e9 (patch)
treee61fe5d6376b55eb71754401ea4730675d4bd2b5 /modules/luci-base/luasrc/view/cbi
parent19b85c34fcac8ad9b2829b4e034d7fefa42fb145 (diff)
parent986baa5ccee13692e9c1ef5a23535e15b7fcb948 (diff)
Merge pull request #564 from cshore/pull-request-app-firewall-timedate
Pull request app firewall timedate
Diffstat (limited to 'modules/luci-base/luasrc/view/cbi')
-rw-r--r--modules/luci-base/luasrc/view/cbi/mvalue.htm2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/luci-base/luasrc/view/cbi/mvalue.htm b/modules/luci-base/luasrc/view/cbi/mvalue.htm
index 6a0b3881d0..5d092610ed 100644
--- a/modules/luci-base/luasrc/view/cbi/mvalue.htm
+++ b/modules/luci-base/luasrc/view/cbi/mvalue.htm
@@ -12,7 +12,7 @@
c = c + 1
%>
<input class="cbi-input-checkbox" type="checkbox" onclick="cbi_d_update(this.id)" onchange="cbi_d_update(this.id)"<%= 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 />
+ <label<%= attr("for", cbid..c) %>><%=self.vallist[i]%></label><% if not self.oneline then %><br /><% else %> <% end %>
<% if c == self.size then c = 0 %><br />
<% end end %>
<% end %>