Commit 331ea7bf authored by Ted Trask's avatar Ted Trask

Changes to use new htmlviewfunctions functions

parent 327dbac6
<% local data, viewlibrary = ...
<% local data, viewlibrary, page_info, session = ...
htmlviewfunctions = require("htmlviewfunctions")
html = require("acf.html")
%>
<% viewlibrary.dispatch_component("status") %>
<h2><%= html.html_escape(data.label) %></h2>
<%
htmlviewfunctions.displayitem(data)
%>
<% local header_level = htmlviewfunctions.displaysectionstart(data, page_info) %>
<% htmlviewfunctions.displayitem(data) %>
<% htmlviewfunctions.displaysectionend(header_level) %>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment