% local form, viewlibrary, page_info = ...
require("viewfunctions")
%>
<%
--[[ DEBUG INFORMATION
io.write("
DEBUGGING
DEBUG INFO: CFE
")
io.write(html.cfe_unpack(form))
io.write("")
--]]
%>
<%= html.html_escape(form.label) %><% if page_info.action == "update" then io.write(html.html_escape(" - "..form.value.name.value)) end %>
<%
if page_info.action == "update" then
form.value.name.readonly = true
end
local order = {"name", "comment", "auto", "family", "method", "pre-up", "up", "down", "post-down"}
displayform(form, order)
%>