summaryrefslogtreecommitdiffstats
path: root/heimdal-klist-html.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'heimdal-klist-html.lsp')
-rw-r--r--heimdal-klist-html.lsp5
1 files changed, 3 insertions, 2 deletions
diff --git a/heimdal-klist-html.lsp b/heimdal-klist-html.lsp
index c6997ff..67175b0 100644
--- a/heimdal-klist-html.lsp
+++ b/heimdal-klist-html.lsp
@@ -5,19 +5,20 @@
<% displaycommandresults({"kinit"}, session, true) %>
<H1><%= data.label %></H1>
+<DL>
<pre>
<%= html.html_escape(data.value) %>
</pre>
<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].kdestroy then %>
-<DL>
<form action="<%= html.html_escape(page_info.script .. page_info.prefix .. page_info.controller .. "/kdestroy") %>">
<DT>Destroy Tickets</DT>
<DD><input class="submit" type="submit" value="Destroy"></DD>
</form>
-</DL>
<% end %>
+</DL>
+
<% if viewlibrary and viewlibrary.dispatch_component and session.permissions[page_info.controller].kinit then
viewlibrary.dispatch_component("kinit")
end %>