1 <div class="cbi-value<% if self.error and self.error[section] then %> cbi-value-error<% end %><% if self.last_child then %> cbi-value-last<% end %>" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
2 <%- if self.title and #self.title > 0 then -%>
3 <label class="cbi-value-title"<%= attr("for", cbid) %>>
4 <%- if self.titleref then -%><a title="<%=self.titledesc or translate('Go to relevant configuration page')%>" class="cbi-title-ref" href="<%=self.titleref%>"><%- end -%>
6 <%- if self.titleref then -%></a><%- end -%>
8 <div class="cbi-value-field">