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

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

<% form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action if page_info.action == "editsource" then form.value.sourcename.readonly = true end local order = {"sourcename", "enabled", "source", "method", "userid", "passwd"} displayform(form, order) %>