diff options
author | Ted Trask <ttrask01@yahoo.com> | 2014-04-12 04:14:24 +0000 |
---|---|---|
committer | Ted Trask <ttrask01@yahoo.com> | 2014-04-12 04:14:24 +0000 |
commit | 740a6df21aaf7df06fc25ebabc9457baf800443c (patch) | |
tree | 2441918cfaa618b0443bf97293a2146c8f9048cc /openvpn-uploadcert-html.lsp | |
parent | 07f78a295b50630bdc0b6981e6a72c32e3f49185 (diff) | |
download | acf-openvpn-740a6df21aaf7df06fc25ebabc9457baf800443c.tar.bz2 acf-openvpn-740a6df21aaf7df06fc25ebabc9457baf800443c.tar.xz |
Changes to use new htmlviewfunctions functions
Diffstat (limited to 'openvpn-uploadcert-html.lsp')
-rw-r--r-- | openvpn-uploadcert-html.lsp | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/openvpn-uploadcert-html.lsp b/openvpn-uploadcert-html.lsp index 41048e4..68dd7a5 100644 --- a/openvpn-uploadcert-html.lsp +++ b/openvpn-uploadcert-html.lsp @@ -1,13 +1,8 @@ -<% 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> <% - form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action form.enctype = "multipart/form-data" form.value.cert.type="file" - form.value.password.type="password" - local order = {"cert", "password"} - htmlviewfunctions.displayform(form, order) + htmlviewfunctions.displayitem(form, page_info) %> |