libs/web: give cbi tabcontainers a CSS class

This commit is contained in:
Jo-Philipp Wich 2010-11-19 17:35:06 +00:00
parent b4e6abe5bf
commit 7a7874d14e

View file

@ -13,7 +13,7 @@ $Id$
-%>
<% for tab, data in pairs(self.tabs) do %>
<div id="container.<%=self.config%>.<%=section%>.<%=tab%>"<% if tab ~= self.selected_tab then %> style="display:none"<% end %>>
<div class="cbi-tabcontainer" id="container.<%=self.config%>.<%=section%>.<%=tab%>"<% if tab ~= self.selected_tab then %> style="display:none"<% end %>>
<% if data.description then %><div class="cbi-tab-descr"><%=data.description%></div><% end %>
<% self:render_tab(tab, section, scope or {}) %>
</div>