summaryrefslogtreecommitdiffstats
path: root/provisioning-editclassgroup-html.lsp
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2011-02-11 08:34:23 +0000
committerTed Trask <ttrask01@yahoo.com>2011-02-11 08:34:23 +0000
commitcf30a7c085eeadec8f7147836eb92f0a36d3bdff (patch)
tree93838443a157b7339af71758b978c3bbd84748cf /provisioning-editclassgroup-html.lsp
parented135be9599d559e87be706bb9fa2c660a0be8cf (diff)
downloadacf-provisioning-cf30a7c085eeadec8f7147836eb92f0a36d3bdff.tar.bz2
acf-provisioning-cf30a7c085eeadec8f7147836eb92f0a36d3bdff.tar.xz
Added concept of class groups to allow separate name and label for class groups
Added four new actions - listclassgroups, editclassgroup, createclassgroup, and deleteclassgroup Added new provisioning_class_groups table Changed provisioning_classes to change name to class_group_id plus added seq field Modified groups to only accept alphanumeric names and display param group label instead of name when editing params
Diffstat (limited to 'provisioning-editclassgroup-html.lsp')
-rw-r--r--provisioning-editclassgroup-html.lsp13
1 files changed, 13 insertions, 0 deletions
diff --git a/provisioning-editclassgroup-html.lsp b/provisioning-editclassgroup-html.lsp
new file mode 100644
index 0000000..77c1145
--- /dev/null
+++ b/provisioning-editclassgroup-html.lsp
@@ -0,0 +1,13 @@
+<% local form, viewlibrary, page_info = ...
+require("viewfunctions")
+%>
+
+<H1><%= html.html_escape(form.label) %></H1>
+<%
+ if page_info.action == "editclassgroup" then
+ form.value.class_group_id.readonly = "true"
+ else
+ form.value.class_group_id.type = "hidden"
+ end
+ displayform(form, nil, nil, page_info, 2)
+%>