libs/web: cbi: assign dedicated css class to last child
This commit is contained in:
parent
96dd29753c
commit
688eb421cc
1 changed files with 1 additions and 1 deletions
|
@ -1,4 +1,4 @@
|
||||||
<div class="cbi-value<% if self.error and self.error[section] then %> cbi-value-error<% end %>" id="cbi-<%=self.config.."-"..section.."-"..self.option%>">
|
<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%>">
|
||||||
<%- if self.title and #self.title > 0 then -%>
|
<%- if self.title and #self.title > 0 then -%>
|
||||||
<label class="cbi-value-title"<%= attr("for", cbid) %>>
|
<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 -%>
|
<%- if self.titleref then -%><a title="<%=self.titledesc or translate('Go to relevant configuration page')%>" class="cbi-title-ref" href="<%=self.titleref%>"><%- end -%>
|
||||||
|
|
Loading…
Reference in a new issue