summaryrefslogtreecommitdiffstats
path: root/provisioning-editparam-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'provisioning-editparam-html.lsp')
-rw-r--r--provisioning-editparam-html.lsp15
1 files changed, 3 insertions, 12 deletions
diff --git a/provisioning-editparam-html.lsp b/provisioning-editparam-html.lsp
index e86faa2..b597185 100644
--- a/provisioning-editparam-html.lsp
+++ b/provisioning-editparam-html.lsp
@@ -1,18 +1,9 @@
-<% local form, viewlibrary, page_info = ...
+<% local form, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
-<h1><%= html.html_escape(form.label) %></h1>
<%
- htmlviewfunctions.displayform(form, nil, nil, page_info, 2)
+ htmlviewfunctions.displayitem(form, page_info)
+ htmlviewfunctions.displayitem(cfe({type="link", value={userid=userid, redir=redir}, label="Options", option="Edit Options", action="editoptions"}), page_info)
%>
-
-<h2>Options</h2>
-<div class='item'><p class='left'></p>
-<div class='right'>
-<form action="<%= page_info.script .. page_info.prefix .. page_info.controller %>/editoptions" method="post">
-<input type="hidden" name="param_id" value="<%= form.value.param_id.value %>">
-<input type="submit" class="submit" value="Edit Options">
-</form>
-</div></div><!-- end .item -->