libs/cbi: support horizontal display for radio button groups
[project/luci.git] / libs / cbi / luasrc / view / cbi / full_valuefooter.htm
index 9fc5c13..bdf7d1b 100644 (file)
@@ -14,7 +14,7 @@ $Id$
 -%>
 
                <% if self.description and #self.description > 0 then -%>
-                       <% if not luci.util.instanceof( self, luci.cbi.Flag ) then -%>
+                       <% if not luci.util.instanceof( self, luci.cbi.Flag ) or self.orientation ~= "horizontal" then -%>
                                <br />
                        <%- end %>
                        <div class="cbi-value-description">