diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-22 16:34:52 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-09-22 16:34:52 +0000 |
commit | 688eb421cc9d29228cad8c960c7a22c91d24aae3 (patch) | |
tree | 285851f96e8fdee15611338882a189ba9022bd94 | |
parent | 96dd29753cc2ada1d704fdcbd38385a4e685c463 (diff) |
libs/web: cbi: assign dedicated css class to last child
-rw-r--r-- | libs/web/luasrc/view/cbi/full_valueheader.htm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/web/luasrc/view/cbi/full_valueheader.htm b/libs/web/luasrc/view/cbi/full_valueheader.htm index e3711f027..aaf085473 100644 --- a/libs/web/luasrc/view/cbi/full_valueheader.htm +++ b/libs/web/luasrc/view/cbi/full_valueheader.htm @@ -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 -%> <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 -%> |