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