summaryrefslogtreecommitdiffstats
path: root/tinydns-html.lsp
blob: b900ea42811280de1da84a03dd53be39d8d46591 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<% 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 form.value.userid then form.value.userid.readonly = true end
	if form.value.role then form.value.role.readonly = true end
	local order = { "userid", "role" }
	htmlviewfunctions.displayform(form, order)
%>