blob: 3475bbc9b89672dcf79dda59be1841eb751f9cd0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<% local form, viewlibrary, page_info = ... %>
<% htmlviewfunctions = require("htmlviewfunctions") %>
<% html = require("acf.html") %>
<h1><%= html.html_escape(form.label) %></h1>
<%
if form.value.status.errtxt then
form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action
htmlviewfunctions.displayformstart(form)
end
htmlviewfunctions.displayitem(form.value.status)
if form.value.status.errtxt then
htmlviewfunctions.displayformend(form)
end
%>
|