diff options
Diffstat (limited to 'dhcp-editsubnet-html.lsp')
-rw-r--r-- | dhcp-editsubnet-html.lsp | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/dhcp-editsubnet-html.lsp b/dhcp-editsubnet-html.lsp new file mode 100644 index 0000000..25b3882 --- /dev/null +++ b/dhcp-editsubnet-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 == "editsubnet" then + form.value.subnet.contenteditable = false + end + local order = {"subnet", "netmask", "leaserangestart", "leaserangeend", "unknownclients", "domainname", "domainnameservers", "routers", "defleasetime", "maxleasetime"} + displayform(form, order) +%> |