summaryrefslogtreecommitdiffstats
path: root/provisioning-editparam-html.lsp
blob: e9e8334c5855e2ae91c30af7e095caeae9364551 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<% local form, viewlibrary, page_info = ... 
require("viewfunctions")
%>

<H1><%= html.html_escape(form.label) %></H1>
<%
	if page_info.action == "editparam" then
		form.value.param_id.readonly = "true"
	else
		form.value.param_id.type = "hidden"
	end
	displayform(form, nil, nil, page_info, 2)
%>
	
<% if page_info.action == "editparam" then %>
<H2>Options</H2>
<dl>
<dt></dt><dd><form action="<%= page_info.script .. page_info.prefix .. page_info.controller %>/editoptions" method="POST">
<input type="hidden" name="param_id" value="<%= form.value.param_id.value %>">
<input type="submit" class="submit" value="Edit Options">
</form></dd></dl>
<% end %>