summaryrefslogtreecommitdiffstats
path: root/openvpn-uploadcert-html.lsp
blob: 41048e4cd520ef2b7f44bbdef1861b5740016d97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
<% local form, viewlibrary, page_info = ... %>
<% 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)
%>