* core: Added template for a table view of typed sections
[project/luci.git] / applications / luci-fw / src / model / cbi / admin_network / portfw.lua
index 96822b53a23de3a22f532545e409e745abd4ecd8..5ee22336e7afeebb1132585616e729cd16b2f3dd 100644 (file)
@@ -4,10 +4,11 @@ m = Map("luci_fw", "Portweiterleitung", [[Portweiterleitungen ermöglichen es in
 Netzwerkdienste von einem anderen externen Netzwerk aus erreichbar zu machen.]])
 
 s = m:section(TypedSection, "portfw")
+s.template  = "cbi/tblsection"
 s.addremove = true
 s.anonymous = true
 
-iface = s:option(ListValue, "iface", "Externes Interface")
+iface = s:option(ListValue, "iface", "Schnittstelle", "Externe Schnittstelle")
 iface:value("")
 for k,v in pairs(ffluci.sys.net.devices()) do
        iface:value(v)