luci-base: cbi: further refactoring
[project/luci.git] / modules / luci-base / luasrc / view / cbi / full_valuefooter.htm
1                 <% if self.description and #self.description > 0 then -%>
2                         <% if not luci.util.instanceof(self, luci.cbi.DynamicList) and (not luci.util.instanceof(self, luci.cbi.Flag) or self.orientation == "horizontal") then -%>
3                                 <br />
4                         <%- end %>
5                         <div class="cbi-value-description">
6                                 <span class="cbi-value-helpicon"><img src="<%=resource%>/cbi/help.gif" alt="<%:help%>" /></span>
7                                 <%=self.description%>
8                         </div>
9                 <%- end %>
10         <%- if self.title and #self.title > 0 then -%>
11         </div>
12         <%- end -%>
13 </div>