Skip to content

Commit

Permalink
Merge pull request #2642 from TDT-AG/pr/20190329-luci-base
Browse files Browse the repository at this point in the history
luci-base: add cbi tsection error msg option
  • Loading branch information
jow- committed Apr 8, 2019
2 parents 97da884 + b347bd1 commit a4f5b40
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions modules/luci-base/luasrc/view/cbi/tsection.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
<% if self.title and #self.title > 0 then -%>
<legend><%=self.title%></legend>
<%- end %>
<% if self.error_msg and #self.error_msg > 0 then -%>
<div class="cbi-section-error">
<%=self.error_msg%>
</div>
<%- end %>
<% if self.description and #self.description > 0 then -%>
<div class="cbi-section-descr"><%=self.description%></div>
<%- end %>
Expand Down

0 comments on commit a4f5b40

Please sign in to comment.