summaryrefslogtreecommitdiffstats
path: root/iptables-editchain-html.lsp
blob: af06bb6ee30d0054017f5baadc65de169e6eccda (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<% local form, viewlibrary, page_info = ... 
require("htmlviewfunctions")
%>

<H1><%= html.html_escape(form.label) %></H1>
<%
	form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
	if page_info.action == "editchain" then
		form.value.table.readonly = true
		form.value.table.type = "text"
		form.value.chain.readonly = true
	end
	local order = {"table", "chain", "policy"}
	htmlviewfunctions.displayform(form, order)
%>