diff options
Diffstat (limited to 'openssl-checkenvironment-html.lsp')
-rw-r--r-- | openssl-checkenvironment-html.lsp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openssl-checkenvironment-html.lsp b/openssl-checkenvironment-html.lsp index 3475bbc..ae54a17 100644 --- a/openssl-checkenvironment-html.lsp +++ b/openssl-checkenvironment-html.lsp @@ -1,15 +1,15 @@ -<% local form, viewlibrary, page_info = ... %> +<% local form, viewlibrary, page_info, session = ... %> <% htmlviewfunctions = require("htmlviewfunctions") %> <% html = require("acf.html") %> -<h1><%= html.html_escape(form.label) %></h1> <% +local header_level = htmlviewfunctions.displaysectionstart(form, page_info) if form.value.status.errtxt then - form.action = page_info.script .. page_info.prefix .. page_info.controller .. "/" .. page_info.action - htmlviewfunctions.displayformstart(form) + 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) %> |