From 5c93a38c2cc263727be345ff5a197ea9bc78595b Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Thu, 28 Oct 2010 13:47:54 +0000 Subject: Starting to develop provisioning application. It has the basics for creating/editing/deleting devices/templates/classes/groups/parameters. --- provisioning-editgroup-html.lsp | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 provisioning-editgroup-html.lsp (limited to 'provisioning-editgroup-html.lsp') diff --git a/provisioning-editgroup-html.lsp b/provisioning-editgroup-html.lsp new file mode 100644 index 0000000..b75458c --- /dev/null +++ b/provisioning-editgroup-html.lsp @@ -0,0 +1,13 @@ +<% local form, viewlibrary, page_info = ... +require("viewfunctions") +%> + +

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

+<% + if page_info.action == "editgroup" then + form.value.group_id.readonly = "true" + else + form.value.group_id.type = "hidden" + end + displayform(form, nil, nil, page_info, 2) +%> -- cgit v1.2.3