Fixed login form
[project/luci.git] / libs / cbi / luasrc / view / cbi / full_valueheader.htm
index 5b890ed0beda5881c844fe8b41f9aa6ba560b750..ddc256dc72672259fdcb80144b241e296228f0bf 100644 (file)
@@ -14,9 +14,11 @@ $Id$
 -%>
 
 <div class="cbi-value" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
+       <%- if self.title and #self.title > 0 then -%>
        <label class="cbi-value-title"<%= attr("for", cbid) %>>
        <%- if self.titleref then -%><a title="<%=self.titledesc or translate('cbi_gorel')%>" class="cbi-title-ref" href="<%=self.titleref%>"><%- end -%>
                <%-=self.title-%>
        <%- if self.titleref then -%></a><%- end -%>
        </label>
                <div class="cbi-value-field">
+       <%- end -%>