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

<H1><%= html.html_escape(form.label) %></H1>
<%
	if page_info.action == "editdevice" then
		form.value.device_id.readonly = "true"
	elseif page_info.action == "duplicatedevice" then
		form.value.classes = nil
	else
		form.value.device_id.type = "hidden"
	end
	displayform(form, nil, nil, page_info, 2)
%>