summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-base/luasrc/view/cbi/full_valueheader.htm
blob: 10a554329fa48bef1dc6d2d54bf66d350d0c96e4 (plain)
1
2
3
4
5
6
7
8
9
<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))%>">
	<%- 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('Go to relevant configuration page')%>" class="cbi-title-ref" href="<%=self.titleref%>"><%- end -%>
		<%-=self.title-%>
	<%- if self.titleref then -%></a><%- end -%>
	</label>
		<div class="cbi-value-field">
	<%- end -%>