diff --git a/modules/luci-base/luasrc/view/cbi/lvalue.htm b/modules/luci-base/luasrc/view/cbi/lvalue.htm
index ac63e9efd4..61759fdd41 100644
--- a/modules/luci-base/luasrc/view/cbi/lvalue.htm
+++ b/modules/luci-base/luasrc/view/cbi/lvalue.htm
@@ -1,18 +1,42 @@
+<%
+ local i, key
+ local br = self.orientation == "horizontal" and ' ' or '
'
+%>
+
<%+cbi/valueheader%>
<% if self.widget == "select" then %>
-