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

<%= 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) %>