summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTed Trask <ttrask01@yahoo.com>2014-04-10 06:24:28 +0000
committerTed Trask <ttrask01@yahoo.com>2014-04-10 06:24:28 +0000
commit331ea7bf86e509b64470da9dc56bf42d0d0f2cec (patch)
tree53bdc0945902dc949c96cc1d39bf6ab4ebe1c8ab
parent327dbac669c13da2bfe1fa9e6947f7de4b3d2b27 (diff)
downloadacf-gross-331ea7bf86e509b64470da9dc56bf42d0d0f2cec.tar.bz2
acf-gross-331ea7bf86e509b64470da9dc56bf42d0d0f2cec.tar.xz
Changes to use new htmlviewfunctions functions
-rw-r--r--gross-details-html.lsp9
1 files changed, 4 insertions, 5 deletions
diff --git a/gross-details-html.lsp b/gross-details-html.lsp
index 78db808..831e9f3 100644
--- a/gross-details-html.lsp
+++ b/gross-details-html.lsp
@@ -1,11 +1,10 @@
-<% 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) %>