diff options
Diffstat (limited to 'dhcp-edithost-html.lsp')
-rw-r--r-- | dhcp-edithost-html.lsp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dhcp-edithost-html.lsp b/dhcp-edithost-html.lsp new file mode 100644 index 0000000..e02e5b3 --- /dev/null +++ b/dhcp-edithost-html.lsp @@ -0,0 +1,13 @@ +<% local form, viewlibrary, page_info = ... +require("viewfunctions") +%> + +<H1><%= form.label %></H1> +<% + form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action + if page_info.action == "edithost" then + form.value.host.contenteditable = false + end + local order = {"host", "mac", "ip"} + displayform(form, order) +%> |