blob: 34dede934af3cb6cee6167038a8b903c60f5c7ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
<% local form, viewlibrary, page_info, session = ... %>
<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<%
local header_level = htmlviewfunctions.displaysectionstart(form, page_info)
if form.value.status.errtxt then
htmlviewfunctions.displayformstart(form, page_info)
for name,value in pairs(form.value) do
if value.type == "hidden" then
htmlviewfunctions.displayformitem(value, name)
end
end
end
htmlviewfunctions.displayitem(form.value.status)
if form.value.status.errtxt then
htmlviewfunctions.displayformend(form)
end
htmlviewfunctions.displaysectionend(header_level)
%>
|