<% local form, viewlibrary, page_info = ... require("htmlviewfunctions") html = require("acf.html") %>

<%= html.html_escape(form.label) %>

<% if page_info.action == "editparam" then form.value.param_id.readonly = "true" else form.value.param_id.type = "hidden" end htmlviewfunctions.displayform(form, nil, nil, page_info, 2) %> <% if page_info.action == "editparam" then %>

Options

<% end %>