summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
diff options
context:
space:
mode:
Diffstat (limited to 'applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua')
-rw-r--r--applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
index 3712196ff8..3d1a041f48 100644
--- a/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
+++ b/applications/luci-fw/luasrc/model/cbi/luci_fw/trule.lua
@@ -17,6 +17,11 @@ m = Map("firewall", translate("firewall_rule"), translate("firewall_rule_desc"))
s = m:section(NamedSection, arg[1], "rule", "")
s.anonymous = true
+back = s:option(DummyValue, translate("overview"))
+back.value = ""
+back.titleref = luci.dispatcher.build_url("admin", "network", "firewall", "traffic")
+
+
name = s:option(Value, "_name", translate("name")..translate("cbi_optional"))
name.rmempty = true