summaryrefslogtreecommitdiffstats
path: root/provisioning-editdevice-html.lsp
blob: 829d1f7870de3a3c4be1450a000ce1d1874b9c1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<% 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.template_id = nil
		form.value.classes = nil
	else
		form.value.device_id.type = "hidden"
	end
	displayform(form, nil, nil, page_info, 2)
%>