summaryrefslogtreecommitdiffstats
path: root/dhcp-editsubnet-html.lsp
blob: b9135b39bf6c7f6391944236fb787c70b9086bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<% 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 == "editsubnet" then
		form.value.subnet.readonly = true
	end
	local order = {"subnet", "netmask", "leaserangestart", "leaserangeend", "unknownclients", "domainname", "domainnameservers", "routers", "defleasetime", "maxleasetime"}
	htmlviewfunctions.displayform(form, order)
%>