% local form, viewlibrary, page_info = ...
require("viewfunctions")
%>
<%= html.html_escape(form.label) %>
<%
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 %>
Options
<% end %>