full_valueheader.htm 689 B

123456789
  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%>" data-index="<%=self.index%>" data-depends="<%=pcdata(self:deplist2json(section))%>">
  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 -%>
  5. <%-=self.title-%>
  6. <%- if self.titleref then -%></a><%- end -%>
  7. </label>
  8. <div class="cbi-value-field">
  9. <%- end -%>