luci-base: cbi: remove duplicate id from template

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
This commit is contained in:
Jo-Philipp Wich 2016-02-09 16:10:04 +01:00
parent cde9a6234e
commit 84de513a79

View file

@ -1,5 +1,5 @@
<% if self:cfgvalue(self.section) then section = self.section %>
<fieldset class="cbi-section" id="cbi-<%=self.config%>-<%=section%>">
<fieldset class="cbi-section">
<% if self.title and #self.title > 0 then -%>
<legend><%=self.title%></legend>
<%- end %>