blob: 2e4f9c4241ac7666b586f984534684ec6e6cded4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<% 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)
else %>
<DL>
<% end %>
<% htmlviewfunctions.displayitem(form.value.status) %>
<% if form.value.status.errtxt then
htmlviewfunctions.displayformend(form)
else %>
</DL>
<% end %>
|