Commit 2eafc594 authored by Ted Trask's avatar Ted Trask

Changes to use new htmlviewfunctions functions

parent 9b843682
<% 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>
<%
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