blob: e8dc1ca5ae37025f4fe80449b7aa8b9876548aa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<% local form, viewlibrary, page_info = ...
require("htmlviewfunctions")
html = require("acf.html")
%>
<H1><%= html.html_escape(form.label) %></H1>
<%
form.value.table.readonly = true
if page_info.action == "updatetableentry" and form.value.id then
form.value.id.readonly = true
elseif form.value.id then
form.value.id.type = "hidden"
end
htmlviewfunctions.displayform(form, nil, nil, page_info, 2)
%>
|