diff options
Diffstat (limited to 'heimdal-klist-html.lsp')
-rw-r--r-- | heimdal-klist-html.lsp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/heimdal-klist-html.lsp b/heimdal-klist-html.lsp index d098a0b..910ec61 100644 --- a/heimdal-klist-html.lsp +++ b/heimdal-klist-html.lsp @@ -10,12 +10,9 @@ <%= html.html_escape(data.value) %> </pre> -<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("kdestroy") then %> -<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> -<% end %> +<% if viewlibrary and viewlibrary.dispatch_component and viewlibrary.check_permission("kdestroy") then + viewlibrary.dispatch_component("kdestroy") +end %> </DL> |