-%>
<div class="cbi-value" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
- <label class="cbi-value-title"<%= attr("for", cbid) %>><%=self.title%></label>
+ <label class="cbi-value-title"<%= attr("for", cbid) %>>
+ <%- if self.titleref then -%><a class="cbi-title-ref" href="<%=self.titleref%>"><%- end -%>
+ <%-=self.title-%>
+ <%- if self.titleref then -%></a><%- end -%>
+ </label>
<div class="cbi-value-field">
<th> </th>
<%- end -%>
<%- for i, k in pairs(self.children) do if not k.optional then -%>
- <th class="cbi-section-table-cell"><%=k.title%></th>
+ <th class="cbi-section-table-cell">
+ <%- if k.titleref then -%><a class="cbi-title-ref" href="<%=k.titleref%>"><%- end -%>
+ <%-=k.title-%>
+ <%- if k.titleref then -%></a><%- end -%>
+ </th>
<%- count = count + 1; end; end; if self.extedit or self.addremove then -%>
<th class="cbi-section-table-cell"> </th>
<%- count = count + 1; end -%>