summaryrefslogtreecommitdiffstats
path: root/dhcp-edithost-html.lsp
blob: 289bcdc9fda38b997838ce248fbcb998fc0e65f8 (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 == "edithost" then
		form.value.host.readonly = true
	end
	local order = {"host", "mac", "ip"}
	htmlviewfunctions.displayform(form, order)
%>