<% local form, viewlibrary, page_info = ... require("viewfunctions") %>

<%= html.html_escape(form.label) %>

<% form.value.table.readonly = true if page_info.action == "updatetableentry" and form.value.id then form.value.id.readonly = true elseif form.value.id then form.value.id.type = "hidden" end displayform(form, nil, nil, page_info, 2) %>