From: Jo-Philipp Wich Date: Tue, 9 Feb 2016 15:10:04 +0000 (+0100) Subject: luci-base: cbi: remove duplicate id from template X-Git-Url: http://git.archive.openwrt.org/?p=project%2Fluci.git;a=commitdiff_plain;h=84de513a79c1714ffa8e51009b7aa97ef975961d;ds=sidebyside luci-base: cbi: remove duplicate id from template Signed-off-by: Jo-Philipp Wich --- diff --git a/modules/luci-base/luasrc/view/cbi/nsection.htm b/modules/luci-base/luasrc/view/cbi/nsection.htm index 32e73e748..abf67596f 100644 --- a/modules/luci-base/luasrc/view/cbi/nsection.htm +++ b/modules/luci-base/luasrc/view/cbi/nsection.htm @@ -1,5 +1,5 @@ <% if self:cfgvalue(self.section) then section = self.section %> -
+
<% if self.title and #self.title > 0 then -%> <%=self.title%> <%- end %>