summaryrefslogtreecommitdiffstats
path: root/dhcp-edithost-html.lsp
blob: e02e5b36378771420ebb6587cce6de8de58a675b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<% local form, viewlibrary, page_info = ... 
require("viewfunctions")
%>

<H1><%= 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.contenteditable = false
	end
	local order = {"host", "mac", "ip"}
	displayform(form, order)
%>