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