X-Git-Url: https://git.archive.openwrt.org/?p=project%2Fluci.git;a=blobdiff_plain;f=libs%2Fcbi%2Fluasrc%2Fview%2Fcbi%2Ftblsection.htm;h=be7e723f7a5b41c99fc76378f32bb946120e8812;hp=a6944881ac8b43d0bc30ce0515e869f13b24a2d6;hb=d8282d382bc675eb1c930eed0fe65c41050400b8;hpb=2c09564d762b692d970a531cca58eb52ba3807e7 diff --git a/libs/cbi/luasrc/view/cbi/tblsection.htm b/libs/cbi/luasrc/view/cbi/tblsection.htm index a6944881a..be7e723f7 100644 --- a/libs/cbi/luasrc/view/cbi/tblsection.htm +++ b/libs/cbi/luasrc/view/cbi/tblsection.htm @@ -31,7 +31,7 @@ end
+ | <%- end -%> <%- for i, k in pairs(self.children) do if not k.optional then -%> | @@ -40,7 +40,7 @@ end <%- if k.titleref then -%><%- end -%> | <%- count = count + 1; end; end; if self.extedit or self.addremove then -%> -+ | <%- count = count + 1; end -%> |
---|---|---|---|---|
<%=k%> |
<%- end %>
@@ -76,7 +76,13 @@ end
<%- if self.extedit or self.addremove then -%>
<%- if self.extedit then -%> - + + <%=self.extedit:format(section)%> + <%- elseif type(self.extedit) == "function" then -%> + <%=self:extedit(section)%> + <%- end -%> + " title="<%:edit%>"> <%- end; if self.addremove then %> <%- end -%> @@ -91,6 +97,15 @@ end |