<% local form, viewlibrary, page_info, session = ... %> <% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> <% local header_level = htmlviewfunctions.displaysectionstart(form, page_info) if form.value.status.errtxt then htmlviewfunctions.displayformstart(form, page_info) end htmlviewfunctions.displayitem(form.value.status) if form.value.status.errtxt then htmlviewfunctions.displayformend(form) end htmlviewfunctions.displaysectionend(header_level) %>